Red Hat Bugzilla – Bug 798484
publican requires write access to source directory for file copying
Last modified: 2012-10-30 23:11:39 EDT
Description of problem:
publican requires write access to the source directories to establish the processing tree.
Version-Release number of selected component (if applicable):
remove write access from the en-US directory before running publican build.
Steps to Reproduce:
1. publican create foo
2. cd foo
3. chmod 555 en-US
4. publican build --langs=en-US --formats=html
"Cannot locate main XML file: 'foo.xml' at /usr/bin/publican line 763"
At least a more helpful error message given that the file is there and can be read just fine with the permissions it has. Publican doesn't seem to actually write to any file in that directory (chmod 444 on all works fine), so not requiring write permissions seems like the best solution.
Disabled keep mode in directory copy.
Committed revision 2047 to trunk.
Can we have an updated fedora package for this please? It's a rather painful bug.
]$ rpm -q publican