chmod g+ Equivalent

Lawrence Oluyede raims at dot.com
Mon Aug 13 19:59:13 EDT 2007


milan_sanremo <hancock.robert at gmail.com> 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 to get the equivalent of 'chmod g+' not something like
> 'chmod 755'.

Sorry, I think I misunderstood the request. Isn't "#define S_ISGID
0002000" what you're asking for?

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair



More information about the Python-list mailing list