How to change file permissions of ALL FILES included in a folder and its subfolders?
I changed the permissions in the main folder but not a single folder or included file were updated and…
it's for 2387 files!
Thanks for any help :-)
Mac mini
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
I changed the permissions in the main folder but not a single folder or included file were updated and…
it's for 2387 files!
Thanks for any help :-)
Mac mini
In the Finder, select the main (parent) folder. Then do GetInfo (CMD-I). Unlock the Sharing & Permissions pane. Change privileges as desired. Then click the little gear icon and select Apply to enclosed items.
Be very careful with this, as it WILL change the permissions on EVERY child folder & file.
In the Finder, select the main (parent) folder. Then do GetInfo (CMD-I). Unlock the Sharing & Permissions pane. Change privileges as desired. Then click the little gear icon and select Apply to enclosed items.
Be very careful with this, as it WILL change the permissions on EVERY child folder & file.
Use the Apply to enclosed item in the … menu button. Be careful with that as it will propagate ACLs if there are any set on the topmost folder. Best to use chmod in Terminal if that is the case. Or, remove the ACL, then add it back when done, but that would require using chmod in Terminal anyway.
You should not be recursively changing permissions (or ownership) of a folder's contents where you personally did not create the folder in question. Not in Finder nor in the Terminal.
And your term "main folder" whether it is your HOME user folder or some other destination could very well require you to perform a clean reinstallation of the operating system and a restore from your Time Machine backup prior to this misadventure.
One of the participation challenges in these communities is knowing how to do something, but realizing that some shared knowledge that is misunderstood, or in the wrong hands can actually create a larger problem, and thus should not be shared. 😉
• I'm owner of all of them
• with main folder I mean the one where all 2387 files below should have those permissions.
I've thousands of folders (because I've almost half a million of files) and I'm (also) using the finder as a database.
It were juste those 2387 files which needed to change their permission settings.
besides I don't like Time machine because it eats of enormous amounts of space (especially as, like I do, you need to edit hundredth of files a week).
Dear VikingOSX, don't worry I know exactly what I do. All those files ARE data files and they are all on an ext. HD.
Have a nice weekend :-)
If you had worded things differently and shared that the main folder whose hierarchy you wanted to alter is located on an external drive, then my response would have been entirely different, or more likely, I would not have responded at all since it was already handled.
Enjoy your weekend as well.
👍+10 Excellent advice & caution.
For my part, I have only done this on data folders that I created myself, mostly on external drives.
Amen!
GREAT! THANKS.
At first it didn't work because I didn't see it was locked. Now it's all OK.
Thanks.
DLWorldCitizen
GREAT! THANKS.
At first (before posting it as a problem) it didn't work because I didn't see it was locked. Now it's all OK and the permissions of all those files are properly updated.
Thanks.
How to change file permissions of ALL FILES included in a folder and its subfolders?