[thelist] chmod & PHP question

dave gray dascott at wam.umd.edu
Mon Jul 24 09:20:54 CDT 2000


the 's' where the 'x' normally is means that when the file is executed, it
is run as the user who requested it (so if it's run by the webserver, it's
usually run as 'nobody', depending on your setup)

anyone know why it would do that by default? is that a Cobalt thing maybe? i
think you can safely 'chmod g-s *' to get rid of those...

 -dave

<snip>
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
...
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)
</snip>





More information about the thelist mailing list