I do know that if the s is capitalized it means that the execute bit in
not set. If you want to remove the s or S you can only remove it by
using chmod g-s <file or dir>. It can be set either by chmod g+s <file
or dir> or chmod 2755 <file or dir>.
Anne Tuchscherer
Medstar Health
If the -s is set for the owner the binary is executed with the context of
the owner,
same for the group. Popular example is "top" which needs some kernel
privileges in is executed with s-bit for the group.
>
> I do know that if the s is capitalized it means that the execute bit in
> not set. If you want to remove the s or S you can only remove it by
> using chmod g-s <file or dir>. It can be set either by chmod g+s <file
> or dir> or chmod 2755 <file or dir>.
>
chmod syntax same as for dirs.
---
Uli
> This is often referred to as the sticky bit. It used to be used a long
> time ago (in UNIX years) for keeping things in memory. Now, if it is on
You're describing the 't' bit here. The 't' bit is called the sticky bit.
The 's' bit is the setuid- or setgid-bit.
For the original poster: read
http://www.cs.rutgers.edu/~watrous/unix-protections.html, found after a
ten second Google-session.
> I do know that if the s is capitalized it means that the execute bit in
> not set. If you want to remove the s or S you can only remove it by
> using chmod g-s <file or dir>. It can be set either by chmod g+s <file
> or dir> or chmod 2755 <file or dir>.
This is correct.
--
Jurjen Oskam
PGP Key available at http://www.stupendous.org/
GUID - whenever this file is executed, it will run with the same group id as
the owner regardless of the id of the person executing it
-rwsrwxrwx
SUID - whenever this file is executed it will run with the same user id as
the owner, regardless of the id of the person executing it
"nwef" <nwe...@dbs1.com> wrote in message
news:487bb720.03060...@posting.google.com...
>-rwxrwsrwx
>
>GUID - whenever this file is executed, it will run with the same group id as
>the owner regardless of the id of the person executing it
>
>-rwsrwxrwx
>
>SUID - whenever this file is executed it will run with the same user id as
>the owner, regardless of the id of the person executing it
>
Close, The EFFECTIVE user id is set to the owner of the file. The REAL
user id remains the same as the uid of the invoking process.
Villy
Also an helpfull link:
http://docs.sun.com/db/doc/816-4883/6mb2joasa?a=view
Good luck,
Arie Maat
"nwef" <nwe...@dbs1.com> wrote in message
news:487bb720.03060...@posting.google.com...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18-6-2003