chmod g+ Equivalent

milan_sanremo hancock.robert at gmail.com
Mon Aug 13 18:56:06 EDT 2007


On Aug 13, 6:42 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n... at spamgourmet.com> wrote:
> milan_sanremo wrote:
> > I've read the documentation on os.chmod() and can implement all
> > the standard commands, but what is the syntax for the equivalent
> > of chmod g + to set the group id?
>
> Group ID is set using os.chown.
>
> Regards,
>
> Björn
>
> --
> BOFH excuse #190:
>
> Proprietary Information.

The group ownership is set by chown, but the group id (setgid bit) is
set by chmod.




More information about the Python-list mailing list