[collective.recipe.filestorage] Suggesting that .layout file containing "bushy" is created in blob directory

Bug #651005 reported by kleist on 2010-09-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


If ZODB finds a blob directory with contents, but without a ".layout" file, the deprecated "lawn" layout is selected and a ".layout" file containing "lawn" is created:


A common error when copying blobs during Plone version migration is to use "cp -R /path/to/old/blob/dir/* /path/to/new/blob/dir", which does not copy "hidden" files like ".layout".

These two facts combined, and the blobs won't be available unless one edits the ".layout" file to contain "bushy".

So: Why don't let this recipe create a ".layout" file containing "bushy" in each created blob dir?


The experienced sysadm would probably step into the old blob dir, and from there do:

    tar cvf - . | (cd /path/to/new/blob/dir; tar xvf -)

or even:

    rsync -a . /path/to/new/blob/dir

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers