> Hi all,
> I have what appears to me to be a very silly question but so far I
> have not had any luck figuring out as answer so I'll see if one of you
> smart people out there does....
> I am trying to set the sticky bit (or suid) for the other group of a
> I have tried (as root)
> umask 0
> chmod +s <program>
> chmod o+s <program>
> chmod a+s <program>
> -r-sr-sr-x 1 root staff 68440 Mar 08 16:14 <program>
> but to no avail.... the above commands will set the sticky bit for
> and group BUT not others!!
> any ideas as to what I am doing wrong or why this is not working???
> the machine is an IBM H70 running aix 4.3.3
> Sent via Deja.com http://www.deja.com/
> Before you buy.
There are 12 mode bits. 9 of them are taken by the user/group/other
read/write/execute bits. The other three (the 4000, 2000, and 1000)
bits are the setuid bit, the setgid bit, and the sticky bit. The sticky
bit's status is indicated (by ls) in the execute position of the "other"
permissions. If it's off, either "-" or "x" is displayed. If it's on,
"t" is displayed if the "other" execute bit is also on; "T" is displayed
if the "other" execute bit is off. To turn it on, use chmod +t, use
chmod -t to turn it off. You can also set it explicitly with something
like chmod 1755 <filename>. Note that this bit is typically ignored
for files. For directories, it indicates that only the file owner can
link or unlink files (this may be unique to AIX, I don't know about
other UNIX implementations).
Sent via Deja.com http://www.deja.com/
Before you buy.