[Zope] Error Packing Data.fs

Eric L. Walstad ewalstad@energywright.com
Fri, 28 Apr 2000 19:57:39 -0700


Nick,
Yes, Zope is running just fine.
I changed the ownership of Data.fs from ewalstad to nobody and was then able
to pack it from within Zope.  I then changed the ownership back to ewalstad.
I guess the root of my question is this:  Is it a security risk to leave the
Data.fs with an owner = "nobody?"

Thanks,

Eric.

// -----Original Message-----
// From: ngarcia@mta2.snfc21.pbi.net [mailto:ngarcia@mta2.snfc21.pbi.net]On
// Behalf Of Nick Garcia
// Sent: Friday, April 28, 2000 6:09 PM
// To: ewalstad@energywright.com
// Cc: zope@zope.org
// Subject: Re: [Zope] Error Packing Data.fs
//
//
// "Eric L. Walstad" wrote:
// >
// > Hi,
// > I am getting a permission denied error when I try to pack the
// Data.fs file
// > I found one answer to this in the archives, but I need a little more
// > explanation.  Here's the answer from the archive:
// >
// > >   That is the point - when Zope is run under root, it
// automatically drops
// > > to nobody, and nobody doesn't have permissions to your Data.fs.
// > >
// > > Error Type: IOError
// > > Error Value: [Errno 13] Permission denied:
// > > '/usr/local/Zope/var/Data.fs'
// > >
// > >Oleg.            (All opinions are mine and not of my employer)
// >
// > My question is:  Do I change the ownership of Data.fs to
// "nobody" or do I
// > change the user Zope is run as?  I guess I don't understand
// the consequenses
// > of each option so I don't know which is the best way to go.
//
// If you're only having the problem when you try to pack the database, I
// assume that Zope is running fine.  If that is the case, then what you
// need to do is change the permissions on (or just plain delete)
// Data.fs.old.  When Zope packs it's database it makes a copy of it and
// calls it Zope.fs.old, this is probably where you're having your problem.
//
// --
// Nick Garcia | ngarcia@codeit.com
// CodeIt Computing | http://codeit.com