-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 26 Nov 2002 07:39:45 -0800 (PST)
begin  Brad De Vries <[EMAIL PROTECTED]> spewed forth:

[snip]

> The "s" means that:
> a) the file is marked as executable for the owner
> b) anyone who does execute the file "becomes" the
> owner when executing it.  This "becoming the owner"
> only occurs for the execution of the file.  a.k.a.
> set-uid.
> 
> Similarly, you can mark a file set-gid
> (-r-xr-sr-x)which means the same as above except you
> replace "owner" with "group".
> 
> See also "info chmod".

additionally, if you see S instead of s, it means the suid/sgid bit was
set, but the file is not executable (almost certainly an oversight).

i.e., chmod 4755 == -rwsr-xr-x, but chmod 4644 == -rwSr--r--
or chmod 6755 == -rwsr-sr-x, but chmod 6644 == -rwSr-Sr--

Ciao,

David A. Bandel
- -- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9457v3uVcotqGMQcRAgpbAKCfl2veEF7DYpki/0JIGJ4WIrwyzQCg2ULy
v5JMIPJj7PEI0aRsBlAQVbU=
=uLQD
-----END PGP SIGNATURE-----
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to