I am not familiar with an aspect of file management within OS X.
I had occasion to back-up a website onto a DVD disk.
Then after copying all the files onto my MB, I proceeded to edit some of the files and noticed a problem. All the files are marked "read-only", and hence can't be edited and saved without changing the permissions. I can change individual files and/or folders, but that's it. If I do it a file/folder at a time, it will take several hours of very tedious work. There has to be an easy way.
The question is...how do I reset the permissions of a folder, all of its subfolders and files in one action move?
In windows it's rather easy. Simply change the root folder to read and write and then direct that all subfolders and contents also be similarly be changed in the dialog box that automatically pops up. OS X does not have this provision that I can find.
-
-
Does the following work, noting the last part:
Select the disk, folder, or file and choose File > Get Info.
If the Sharing & Permissions pane is not visible, click the disclosure triangle to show it.
Click the lock icon, type your user name and password, and click OK.
To choose a permission for yourself, select from the pop-up menu. To choose permissions for others who could use the item, select options in the Name and Privilege columns.
To apply the same permissions to every item contained in the selected folder or disk, open the Action (gear) menu and choose “Apply to enclosed items.” -
Thank you.
I will try it. -
Also, the files could potentially need root access to change permissions. By default, the root user is disabled and you use your owner level account. You may need to enable the root account and login as root to change the permissions as noted above.
Of course, many say enabling root is not the best idea and not secure. Enable it at your own risk. -
I tried it, and it worked well. Thanks again.
-
just make sure you select the "Apply to Enclosed Items" option to change everything in a folder you are using Get Info on
Changing permissions on a group of files
Discussion in 'Apple and Mac OS X' started by SP Forsythe, Jul 26, 2010.