[thelist] chmod & PHP question

James Spahr james at designframe.com
Sun Jul 23 18:14:35 CDT 2000


I'm having file permission problems with doing file system writes with PHP.

I don't have a problem if I:

$ chmod 777 text

which results in :

drwxrwsr-x   2 admin    site2        1024 Jul 18 20:18 html
drwxrwsr-x   5 dev_df   site2        1024 Jul 12 21:37 images
drwxrwsr-x   2 admin    site2        1024 Jul 17 21:36 includes
drwxrwxrwx   2 admin    site2        1024 Jul 18 21:04 text

Although - I don't think this is a good idea - right? (chmod 775 still
results in file write errors in PHP)

And - what is the 's' in the permissions listings where I'm expecting an 'x'
or a '-' ? (this is a Cobalt (aka Redhat) Linux system)


James.






More information about the thelist mailing list