Question
We've installed an intranet TWiki on a shared server that people can login to freely.
The default file permission for TWiki pages in data/Main/ and the other TWiki webs is 664.
We will have some pages we'd like to keep at least from casual prying eyes. Is it safe to turn off access to the world (
chmod o-w, to 640 or 660) for the files in the data/... directories without encountering any difficulties with Twiki running? And will TWiki create new pages with world-readable permissions, and how might we fix that (e.g. by directory chmod)?
Thanks.
Environment
--
DanHalbert - 17 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
To answer my own question:
After poking around in the code, I found the right thing to do was to change the
*Store Settings* in the Configuration page to:
- {RCS}{dirPermission} to 0750
- {RCS}{filePermission} to 0640
Then I did
chmod -R o-rwx data/
to fix the initial permissions.
--
DanHalbert - 20 Aug 2007