Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have a strange problem with file permissions on my Centos server. When file permissions are set to 644 a php file will work...and when set to 777 it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    File permissions problem


    Hi

    I have a strange problem with file permissions on my Centos server. When file permissions are set to 644 a php file will work...and when set to 777 it doesn't.

    This has mostly arisen when people are installing various scripts...which need a 777 for install, and has happened with seperate, completely different scripts. I don't understand it as I would have thought setting the permissions higher couldn't allow something to work less well.

    Is there anything in the config that would create this situation?

    Thanks!

    Piglet

  2. #2
    Linux Newbie cybersmurf's Avatar
    Join Date
    Apr 2006
    Posts
    122
    Quote Originally Posted by piglet77 View Post
    Hi

    I have a strange problem with file permissions on my Centos server. When file permissions are set to 644 a php file will work...and when set to 777 it doesn't.

    This has mostly arisen when people are installing various scripts...which need a 777 for install, and has happened with seperate, completely different scripts. I don't understand it as I would have thought setting the permissions higher couldn't allow something to work less well.

    Is there anything in the config that would create this situation?

    Thanks!

    Piglet
    Look into php_suexec, that will answer your questions.
    The problem with developing something completely foolproof is underestimating the complete ingenuity of fools ~Unknown

Posting Permissions

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