Re: chmod g+ Equivalent

2007-08-22 Thread milan_sanremo
On Aug 14, 7:30 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > milan_sanremo wrote: > > On Aug 13, 8:06 pm, Steve Holden <[EMAIL PROTECTED]> 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

Re: chmod g+ Equivalent

2007-08-14 Thread Steve Holden
milan_sanremo wrote: > On Aug 13, 8:06 pm, Steve Holden <[EMAIL PROTECTED]> 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? >> I assume when

Re: chmod g+ Equivalent

2007-08-14 Thread Bjoern Schliessmann
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

Re: chmod g+ Equivalent

2007-08-14 Thread milan_sanremo
On Aug 13, 8:06 pm, Steve Holden <[EMAIL PROTECTED]> 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? > > I assume when you say "to set the gro

Re: chmod g+ Equivalent

2007-08-13 Thread Steve Holden
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? > I assume when you say "to set the group id" you actually mean "to assert the setgid bit"? I further pres

Re: chmod g+ Equivalent

2007-08-13 Thread Lawrence Oluyede
milan_sanremo <[EMAIL PROTECTED]> wrote: > I understand that for setting the standard rwx permissions, but how do > these affect the ability to change the setgid bit? Under Solaris you > cannot do it from the command line in absolute mode, so perhaps it is > not possible in python > > I'm trying

Re: chmod g+ Equivalent

2007-08-13 Thread milan_sanremo
On Aug 13, 6:33 pm, [EMAIL PROTECTED] (Lawrence Oluyede) wrote: > milan_sanremo <[EMAIL PROTECTED]> 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? > > chmod() [1] t

Re: chmod g+ Equivalent

2007-08-13 Thread milan_sanremo
On Aug 13, 6:42 pm, Bjoern Schliessmann 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, > >

Re: chmod g+ Equivalent

2007-08-13 Thread Bjoern Schliessmann
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. -- htt

Re: chmod g+ Equivalent

2007-08-13 Thread Lawrence Oluyede
milan_sanremo <[EMAIL PROTECTED]> 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? chmod() [1] takes as the second parameter a bitwise or-ed combination of a series of val

chmod g+ Equivalent

2007-08-13 Thread milan_sanremo
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? -- http://mail.python.org/mailman/listinfo/python-list