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
>
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
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
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