1832615 Members
3173 Online
110043 Solutions
New Discussion

Re: Sticky Bit

 
Nobody's Hero
Valued Contributor

Sticky Bit

Hey Gang,

In /usr/sbin/sendmail my permissions are
r-xr-xr-t.
I also have a /usr/lib/sendmail with a link back to the /usr/sbin/sendmail with lr-xr-xr-t.
How do I changethese to r-sr-sr-t and lr-sr-sr-t ????

Thanks
Bob
UNIX IS GOOD
3 REPLIES 3
Steven Gillard_2
Honored Contributor

Re: Sticky Bit

# chmod u+s,g+s /usr/sbin/sendmail

Regards,
Steve
Andreas Voss
Honored Contributor

Re: Sticky Bit

Hi,

you can set the permissions as follows:

chmod ug+s /usr/sbin/sendmail

The symlink permission itself cannot be changed.
The t at the end of the symlink permission indicates, that this is a transition link.

Regards
Nobody's Hero
Valued Contributor

Re: Sticky Bit

Thanks,
Both of you. 5 a piece.
UNIX IS GOOD