[Zope] Re: Re: Changing file ownership

mindlace mindlace@imeme.net
Thu, 06 Apr 2000 16:17:38 -0600


Eric Shuman wrote:
> 
> The weird part here is that the python method had just created the
> directory in question and the UID on that file is "nobody".  So even though
> the process is the owner of the file it still does not have permission to
> change the GID.

In general, unpriveledged users cannot change group ownership to a group
they are not in.  Add nobody to the group you want to change it to, and
it should work.

> Is there a way to specify what group Zope/Python is
> running under. 

If you start Zope with root, Zope runs as nobody.  If you start zope as
anybody else, Zope runs as that user.

good luck,
-- 
ethan mindlace fremen        mindlace@imeme.net
zope    -&-     imap email   -&-   mailing list
weave your web with the web at http://imeme.net