[thelist] chmod & PHP question

WapIndia wapindia at crosswinds.net
Mon Jul 24 10:14:32 CDT 2000


you might want to confirm this... i thought it mean that the process would
run as the user who owns the file.. so if "mail2.pl" is owned by the root,
it would run suid root (set user id to root, ie as a root process, which
would be able to access more parts of the system.)

kinjal

----- Original Message -----
From: dave gray <dascott at wam.umd.edu>
To: <thelist at lists.evolt.org>
Sent: Monday, July 24, 2000 7:31 PM
Subject: RE: [thelist] chmod & PHP question


> 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>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list