Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Permissions

-- TWikiGuest - 03 Sep 2005

Answer

ALERT! 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.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-11-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.