>During a recent attempt to restore an accidently deleted
>mail message, a restore from tape of the spool directory
>This resulted in a loss of one of the sticky bits.
>I had to use chmod o+x to give execute perms to others,
>but I am unable to turn on the sticky bit (chmod o+t doesnt work)
>How does one activate the sticky bit?
You could use the octal mode: chmod 1777 /var/spool/mail. The leading
'1' turns on the sticky bit.
-- Jim Davis | "I don't want him crushed -- just slightly dented." email@example.com | -- Clarissa Darling Use either "chmod +t" or "chmod 1xxx" where xxx is the normal absolute permissions (eg, 755 for rwxr-xr-x).
As seen in the absolute mode, the sticky bit isn't part of the others permissions, but rather a part of a triple which includes setuid and setgid. Each of these bits affects the entire file, not a specific set of permissions. They are shown within the permissions for user, group, and others in an 'ls -l' merely as shorthand. That's why "chmod o+t" doesn't work.
----- David Willard (firstname.lastname@example.org) Unix Systems Analyst Programmer, McDonnell Douglas Aerospace Huntsville, AL
MANY THANKS TO ALL WHO RESPONDED
N 1 receda@chj401.SINet.SLB.COM Wed Apr 7 04:17 44/1540 Stidky Bit N 2 email@example.com Wed Apr 7 05:42 22/817 N 3 firstname.lastname@example.org Wed Apr 7 06:39 28/833 Re: Sticky Bit N 4 email@example.com Wed Apr 7 07:45 40/1617 Re: Sticky Bit N 5 firstname.lastname@example.org Wed Apr 7 08:29 27/980 Re: Sticky Bit N 6 email@example.com Wed Apr 7 09:53 27/889 Re: Sticky Bit N 7 firstname.lastname@example.org Wed Apr 7 09:54 40/1494 Re: Sticky Bit N 8 brenda Wed Apr 7 12:29 25/825 net N 9 email@example.com Wed Apr 7 12:32 21/964 Re: Sticky Bit rea@
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:42 CDT