Re: os.chown()

2005-11-13 Thread Tim Roberts
James Colannino <[EMAIL PROTECTED]> wrote: > >Hey everyone. I tried to use os.chown() in the following manner: > >os.chown('filename', 'username', 'groupname') > >I got an error, and when I googled for this function I realized that I >

Re: os.chown()

2005-11-11 Thread James Colannino
Mike Meyer wrote: >You want pwd.getpwnam and grp.getgrnam. > > Thanks. Hope my newbie questions haven't gotten on anybody's nerves yet ;) James -- My blog: http://www.crazydrclaw.com/ My homepage: http://james.colannino.org/ "A well regulated militia being necessary to the security of a fr

Re: os.chown()

2005-11-11 Thread Mike Meyer
James Colannino <[EMAIL PROTECTED]> writes: > Hey everyone. I tried to use os.chown() in the following manner: > > os.chown('filename', 'username', 'groupname') > > I got an error, and when I googled for this function I realized that I > mu

os.chown()

2005-11-11 Thread James Colannino
Hey everyone. I tried to use os.chown() in the following manner: os.chown('filename', 'username', 'groupname') I got an error, and when I googled for this function I realized that I must pass the numerical uid and gid. My question is, is there a way for me to