Everything under /share/data, including the directory "data", needs to be read and writable by the web server app. I think everything in those directories is related to Xapian, but not positive. Here's a possible set of commands:
# cd /hosted/sapling_base/share # chown -R www-data.www-data data # chmod -R u+rw data As to whether BuildDB.py should do that, I would guess that in some far-off future, sycamore would have some kind of install script that would call BuildDB.py and set permissions accordingly. Today, this is a common gotcha and probably needs to be documented. On 6/12/07, Far McKon <[EMAIL PROTECTED]> wrote: > yeah, I should have been clearer. I realize it's an error in saving (I > assume Dictonaries) to a file. > > To be more specific, Is settting those file permissions something that > should be automaticlly done by running BuildDB.py, or some maintaince > funciton I missed, or is that an install step I have to do myself? I > didn't see it listed in the install steps. > > > You need to change the permissions on that data dir and everything > > under it so your web server process can read and write it. > > Just to be clear, you really mean *everything* below the level of > /hosted/sapling_base, Including all subdirectories including 'share', > 'Sycamore' should be all rights for the 'webserver user' ? > > I'm rusty on edit permissions per group, I guess I'll go look that stuff up > now. > > - Far > > On 6/12/07, Rottenchester <[EMAIL PROTECTED]> wrote: > > This is the key: > > > > IOError: [Errno 13] Permission denied: > > '/hosted/sapling_base/share/data/dicts.pickle' > > > > You need to change the permissions on that data dir and everything > > under it so your web server process can read and write it. > > > > On 6/12/07, Far McKon <[EMAIL PROTECTED]> wrote: > > > When I try to add items to AdminGroup, I get the included error. now, > > > if I save the page with no changes, it saves it without error (but > > > puts up a 'can't save blank' message). > > > > > > Anyone else run into this? I Made a couple of trackers issues for > > > other things, but I figured this might be myown dammed fault, so I'd > > > ask the list before making an issue. > > > > > > - Far > > > --------- Error Message --------------- > > > > > > --> --> > > > > > > Traceback (most recent call last): > > > File "/hosted/sapling_base/Sycamore/request.py", line 499, in run > > > wikiutil.getSysPage(self, config.page_front_page).page_name, self) > > > File "/hosted/sapling_base/Sycamore/wikiaction.py", line 792, in > > > do_savepage > > > comment=comment) > > > File "/hosted/sapling_base/Sycamore/PageEditor.py", line 703, in > > > saveText > > > self.updateGroups() > > > File "/hosted/sapling_base/Sycamore/PageEditor.py", line 729, in > > > updateGroups > > > dicts.scandicts(force_update=True, update_pagename=self.page_name) > > > File "/hosted/sapling_base/Sycamore/wikidicts.py", line 311, in > > > scandicts > > > pickle.dump(data, open(picklefile, 'w'), True) > > > IOError: [Errno 13] Permission denied: > > > '/hosted/sapling_base/share/data/dicts.pickle' > > > _______________________________________________ > > > Sycamore-Dev mailing list > > > [EMAIL PROTECTED] > > > http://www.projectsycamore.org/ > > > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > > > > _______________________________________________ > > Sycamore-Dev mailing list > > [EMAIL PROTECTED] > > http://www.projectsycamore.org/ > > https://tools.cernio.com/mailman/listinfo/sycamore-dev > > > _______________________________________________ > Sycamore-Dev mailing list > [EMAIL PROTECTED] > http://www.projectsycamore.org/ > https://tools.cernio.com/mailman/listinfo/sycamore-dev > _______________________________________________ Sycamore-Dev mailing list [EMAIL PROTECTED] http://www.projectsycamore.org/ https://tools.cernio.com/mailman/listinfo/sycamore-dev