Skip to content

file system permissions are broken #82

@MrTango

Description

@MrTango

In the current master and also in the tag 1.2.8 the file system permissions are broken:

root@plone-test1-deb8-32bit:/usr/local/plone-4.3/example# su plone_daemon 
$ pwd
/usr/local/plone-4.3/example
$ ./bin/client_reserved run scripts/addPloneSite.py  
Traceback (most recent call last):
  File "/usr/local/plone-4.3/example/parts/client_reserved/bin/interpreter", line 260, in <module>
    exec(_val)
  File "<string>", line 1, in <module>
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/__init__.py", line 51, in app
    startup()
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/App/startup.py", line 81, in startup
    DB = dbtab.getDatabase('/', is_root=1)
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/datatypes.py", line 287, in getDatabase
    db = factory.open(name, self.databases)
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/datatypes.py", line 185, in open
    DB = self.createDB(database_name, databases)
  File "/usr/local/plone-4.3/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/datatypes.py", line 182, in createDB
    return ZODBDatabase.open(self, databases)
  File "/usr/local/plone-4.3/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZODB/config.py", line 101, in open
    storage = section.storage.open()
  File "/usr/local/plone-4.3/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZODB/config.py", line 220, in open
    **options)
  File "/usr/local/plone-4.3/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZEO/ClientStorage.py", line 387, in __init__
    self.fshelper = ZODB.blob.FilesystemHelper(blob_dir)
  File "/usr/local/plone-4.3/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZODB/blob.py", line 330, in __init__
    layout_name = auto_layout_select(base_dir)
  File "/usr/local/plone-4.3/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZODB/blob.py", line 516, in auto_layout_select
    for name in os.listdir(path):
OSError: [Errno 13] Permission denied: '/var/local/plone-4.3/example/blobstorage'

tag 1.2.5 works with the same playbook.
OS: Debian 32bit on DiagitalOcean

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions