Connecting Tech Pros Worldwide Forums | Help | Site Map

permission script

Member
 
Join Date: Jun 2006
Posts: 65
#1: Dec 27 '06
i am looking for a way to write a script that resets permissions on certain folders (publicly accessible and full RWX access).

can anyone start me off or give me a good site to look at?

thanks

Loismustdie129's Avatar
Familiar Sight
 
Join Date: Aug 2006
Posts: 195
#2: Dec 27 '06

re: permission script


I'm pretty sure you set it up something like this:

Expand|Select|Wrap|Line Numbers
  1. chmod a=rwx $1
where you save it to a file and the $1 is your file name you want to gain permission to everyone, I think this is right but you should double check because I am not to sure about the public access.
Reply


Similar Unix / Linux / BSD bytes