chmod g+ Equivalent

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Tue Aug 14 15:57:29 EDT 2007


milan_sanremo wrote:
> The group ownership is set by chown,

Yes -- by storing a group's gid (group ID) in the file metadata. The
group ID is an int from /etc/group.

> but the group id (setgid bit) is set by chmod.

"group id" is not "setgid bit".

The "setgid bit" is one bit in the file metadata that tells the OS
to change the group ID based privileges for a process.

Regards,


Björn

-- 
BOFH excuse #412:

Radial Telemetry Infiltration




More information about the Python-list mailing list