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
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
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
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
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
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
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
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,
>
>
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
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
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
11 matches
Mail list logo