Question
I want to create a script to set the permissions for all files and folders. I am a UNIX newbie and after going through all of the TWiki docs I came up with the following, which does not seem to be completely correct.
Can you provide any feedback?
Thanks...
Chris
#!/bin/sh
cd /twiki
chgrp None * -R
chmod 775 pub
cd pub
chmod 775 Main Sandbox TWiki Trash
cd ..
chmod 775 data
cd data
chmod 664 *
cd ..
cd data
chmod 775 Main Sandbox TWiki Web1 Web2 Trash _default
cd ..
chown SYSTEM * -R
Environment
--
TWikiGuest - 03 Sep 2005
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.