What Did I Do To My Server?!

Kirk Strauser kirk at strauser.com
Sun Dec 3 08:49:04 PST 2006


On Wednesday 29 November 2006 17:57, Rachel Florentine wrote:

> IOError: [Errno 13] Permission denied:
> '/usr/local/zope/instance2/var/Data.fs.lock'

Ugh.  OK, here's the problem: the Zope port (un?)intentionally screws up the 
permissions of the installation.  Specifically, it unsets the writeable bit 
of every file under /usr/local/www/Zope, including those on files that Zope 
actually *needs* to be able to write to.  Run this:

   chown -R www:www /usr/local/zope
   chmod u+w /usr/local/zope/instance2/var/*
   chmod u+w /usr/local/zope/instance2/log/*

Repeat the last two as necessary to fix any other Zope instances you're trying 
to run.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061203/1c6532b3/attachment.pgp


More information about the freebsd-questions mailing list