Problem already solved, but I'll write here the solution in case it's useful to someone.
I've created an epub from scratch with Sigil (0.3.4) in OS X. When trying to upload the epub to Lulu, I got a validation error stating that the epub "Contains file permission errors". The epub validates on Sigil and with epubcheck 1.1.
$ zipinfo -l Programacion_web_segura.epub
The quick solution I've found is to copy the epub to a windows machine, open it with Sigil and save it. Now the epub has the right permissions and Lulu validates it.
Solved! Go to Solution.
I have written a small script that will run in terminal on a mac to fix the sigil permissions. It's here:
Go there and save the file as text and then run it with your epub file.
If you're not familiar with running scripts on the Mac then do the following:
In terminal run the following command:
bash /path/to/script /path/to/epub-file.epub
You can do this by typing bash<space> in terminal,
then in finder drag the script icon to the terminal window,
then drag the epub file to the terminal window
then activate the terminal window and hit return.
In the folder with the epub file should now be another epub file called something like:
This should be your file with the permissions fixed.
what about a solution for Caibre on a MAC? I have used epubchkr. and ran the rile throught the terminals directed and not problems detected, also the iBookstore has already accepted and approved my file in their store.
pinchgutpress, I downloaded your file and followed your instructions to a "t", but I still get the error: Did not pass epubcheck-1.1 validation. I am using Sigil on my Mac. Any thots?