[daisy] [JIRA] Created: (DSY-369) daisy-wiki-add-site should be checking fail-fast for write access of the to be created siteconf.xml

Marc Portier (JIRA) issues at cocoondev.org
Sat Oct 28 12:32:47 CDT 2006


daisy-wiki-add-site should be checking fail-fast for write  access of the to be created siteconf.xml
----------------------------------------------------------------------------------------------------

         Key: DSY-369
         URL: http://issues.cocoondev.org//browse/DSY-369
     Project: Daisy
        Type: Improvement
 Reporter: Marc Portier
    Priority: Trivial


If the executing user doesn't have write access to the $DAISY_WIKI_DATA/sites directory then the daisy-wiki-add-site operation can't complete succesfully.

Currently however it will only experience this failure quite late in the process, as a result the corresponding collection (maybe other stuff as well? navtree and welcome doc?) will be created.

The user noticing the failure will promptly try to recreate his site with appropriate rights (e.g. sudo) only to be confronted with another failure caused by the fact that his collection already exists.
(so needs to login to daisy, and manually remove the collection)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list