Files and script permissions on dedicated servers


SUBMITTED BY: Guest

DATE: Feb. 14, 2019, 2:36 a.m.

FORMAT: Text only

SIZE: 950 Bytes

HITS: 592

  1. Files and script permissions on dedicated servers
  2. Hello,
  3. 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.
  4. 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
  5. 2)I cannot upload a single image in my folders if the folders are not chmod777, how can I stop this please?
  6. 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?
  7. If you could send me a few commands it would be fantastic!
  8. I am just trying to make my server a bit more secure by eliminating any folders which have chmod777.
  9. Thanks!
  10. ++++++++++++++
  11. If You want to buy cheap web hosting then visit Listtop.pw and select the cheapest hosting. it can be suitable for all your needs.
  12. Listtop.pw
  13. Listtop.pw
  14. Listtop.pw
  15. +++++++++++++++

comments powered by Disqus