Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2018
    Posts
    1

    Files and script permissions on dedicated servers

    Hello,

    I am a novice php programmer and need a bit of help from a server admin to understand a few points where I am totally lost.

    1)When I create a php script, how do I find out which user is running the script? I am using the OS: CENTOS 6.7 x86_64 standard

    2)I cannot upload a single image in my folders if the folders are not chmod777, how can I stop this please?

    3)I only have 1 single account on my dedicated server, how can I let the script run using this user to remove any chmod problems please?


    If you could send me a few commands it would be fantastic!
    I am just trying to make my server a bit more secure by eliminating any folders which have chmod777.

    Thanks!

  2. #2
    Registered User
    Join Date
    Jan 2018
    Posts
    188
    Thank you for informing us about this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.