Bug 798484 - publican requires write access to source directory for file copying
Summary: publican requires write access to source directory for file copying
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
Depends On:
TreeView+ depends on / blocked
Reported: 2012-02-29 02:05 UTC by Peter Hutterer
Modified: 2012-10-31 03:11 UTC (History)
1 user (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-10-31 03:11:39 UTC

Attachments (Terms of Use)

Description Peter Hutterer 2012-02-29 02:05:37 UTC
Description of problem:
publican requires write access to the source directories to establish the processing tree.

Version-Release number of selected component (if applicable):

How reproducible:
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

Actual results:
"Cannot locate main XML file: 'foo.xml' at /usr/bin/publican line 763"

Expected results:
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.

Comment 1 Jeff Fearn 🐞 2012-02-29 02:56:37 UTC
Disabled keep mode in directory copy.

Committed revision 2047 to trunk.

Comment 2 Peter Hutterer 2012-03-01 04:06:09 UTC
Can we have an updated fedora package for this please? It's a rather painful bug.

Comment 3 Martin Prpič 2012-04-26 20:32:45 UTC
Verified on:

Fedora 16
]$ rpm -q publican

Note You need to log in before you can comment on or make changes to this bug.