![]() Preserved Topic: 0777 (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lebanon |
![]() Hey, |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() I was wondering the same thing, I had to CHMOD my files to 666 to be able to write to them. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() the last of the three digits (yes, three!!!) stands for everyone! when you are surfing the web you are considered as everyone/anyone, so you must have the right 6 to create files in that directory. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() When PHP is running as Apache module, it behaves the same as Apache. By default and for security reasons Apache is always running as "neutral" user like "nobody". PHP will run as this user also. And that's why you must allow r&w access to everyone (the last bit). But, don't be confused with "everyone" term, it's related to everyone who was file system access to your web server (not remote access through web browser). This should only be an issue on shared hosting. If you have dedicated server you don't have to worry very much. |