En/na Andreas Jung ha escrit:



Hi all,

on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.8.6. You can download Zope 2.8.6 from

     http://www.zope.org/Products/Zope/2.8.6/

It's just me or the permissions are wrong?

On a just installed zope-2.8.6 (untarred with gnu tar and built with ./configure --with-python=/usr/local/python-2.3.5/bin/python --prefix=/usr/local/zope-2.8.6-final; make; sudo make install)

$ zopetest/bin/zopectl status
Traceback (most recent call last):
File "/usr/local/zope/lib/python/Zope2/Startup/zopectl.py", line 322, in ?
    main()
File "/usr/local/zope/lib/python/Zope2/Startup/zopectl.py", line 280, in main
    options.realize(args)
File "/usr/local/zope/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
    ZDOptions.realize(self, *args, **kw)
File "/usr/local/zope-2.8.6-final/lib/python/zdaemon/zdoptions.py", line 273, in realize
    self.load_schema()
File "/usr/local/zope-2.8.6-final/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
File "/usr/local/zope-2.8.6-final/lib/python/ZConfig/loader.py", line 31, in loadSchema
    return SchemaLoader().loadURL(url)
File "/usr/local/zope-2.8.6-final/lib/python/ZConfig/loader.py", line 63, in loadURL
    r = self.openResource(url)
File "/usr/local/zope-2.8.6-final/lib/python/ZConfig/loader.py", line 102, in openResource
    self._raise_open_error(url, str(e))
File "/usr/local/zope-2.8.6-final/lib/python/ZConfig/loader.py", line 114, in _raise_open_error
    url)
ZConfig.ConfigurationError: error opening file /usr/local/zope/lib/python/Zope2/Startup/zopeschema.xml: [Errno 13] Permission denied: '/usr/local/zope/lib/python/Zope2/Startup/zopeschema.xml'


There are many other files that are readable only by root (that wasn't the case with 2.8.4)

A quick fix

$ cd /usr/local/zope-2.8.6-final
$ sudo find -perm +'u+r' -exec chmod go+r \{\} \;
$ sudo find -perm +'u+x' -exec chmod go+x \{\} \;


Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to