Re: Setuid?
Re: Setuid?
- Subject: Re: Setuid?
- From: Ondra Cada <email@hidden>
- Date: Sat, 6 Jul 2002 14:17:15 +0200
On Saturday, July 6, 2002, at 12:11 , Finlay Dobbie wrote:
No, files with setuid and/or setgid permission set will have an 's'
instead of an 'x' in the execute column.
or S, in case the execute bit is not set.
Also, you won't find the setuid bit on directories, only on executable
files, AFAIK.
222 /tmp> mkdir foobar
223 /tmp> chmod a+s foobar
224 /tmp> ls -ld foobar
drwsr-sr-x 2 ocs wheel 24 Jul 6 14:14 foobar/
225 /tmp>
I do agree that it would be extremely rare or non-existing; it's quite
cleanly possible though.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: Setuid? (From: Finlay Dobbie <email@hidden>) |