Home » Questions » Computers [ Ask a new question ]

How to recursively change sharing/permission of a folder in Mac OS X

How to recursively change sharing/permission of a folder in Mac OS X

Is there any Mac OS X tools or scripts which allow me to change sharing/permission properties of files and subfolders in a folder recursively? For example, to let everybody or a specific user able to read and write, read only, or write only.

Asked by: Guest | Views: 318
Total answers/comments: 3
bert [Entry]

"Try the chmod command. For example, if you have a directory name mydir, the following command will enable read/write for that mydir recursively.

$ chmod -R +rw mydir

For more information:

$ man chmod"
bert [Entry]

"You want to use the chmod and chown commands.

If I remember correctly, you can change the permissions like this:

chmod -R +a ""joshhunt allow read"" /some/file/or/folder/
chmod -R +a ""Guest deny read"" /some/other/folder/
chmod -R +a ""Guest deny write"" /some/other/folder/

For more details one these commands, look up their respective man pages in Terminal:

man chmod
man chown"
Yrheos [Entry]

order generic atorvastatin 20mg <a href="https://lipiws.top/">lipitor 80mg pills</a> lipitor 20mg cheap