Preserved Topic: 0777 |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Lebanon |
posted 01-08-2002 14:07
Hey, |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 01-08-2002 14:49
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 |
posted 01-08-2002 16:26
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 |
posted 01-08-2002 17:29
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. |