Your best friend for file transfer.Fetch
Setting permissions of folder contents (4 posts)
- Started 9 years ago by timhodge
- Latest reply 8 years ago from Scott McGuire
VERY often, I have a need to change the permissions of a folder and ALL its contents. This isn't too big a deal if all the contents are files... BUT if the contents are folder anf files, folders within folders, etc, it can be a real pain.
Fetch is ABSOLUTELY the best FTP app out there BUT this feature is available in "Transmit." Any chance of adding this capability to fetch?
I would like to see an "Apply to contents" checkbox on the Get Info Window. Thanks!
Jim Matthews Administrator
Thanks for the suggestion; we'll consider it for a future release.
In the meantime, if you download the Fetch Example Scripts you'll find one called Recursive Set Permissions. Select a folder in Fetch and run that script to change the permissions of all its contents.
Thank you for maintaining this software. Your work is greatly appreciated.
The ability to chmod recursively would be a huge help. The need to change permissions on directories helps when adding files to group folders where the default umask can not be 0022.
The script solution is interesting, but overly complicated for the average user (even if they are in college.-)
Scott McGuire Administrator
Thanks for the feedback, we continue to consider the feature for future versions.
One way to make the script more convenient to use is to turn on the Script menu, and then put the "Recursive Set Permissions" script in your Library/Scripts folder.
You only have to do the setup described below once; afterwards, you can just select items in Fetch, choose the "Recursive Set Permissions" from the Scripts menu, enter the desired permissions values, and off the script will go to set them.
To turn on the Script menu:
* Open the Applications folder.
* Open the AppleScript folder.
* Open the AppleScript Utility.
* Check the "Show Script Menu in menu bar" checkbox.
Now you should see a scroll/script icon on the right-hand side of your menubar, near the clock.
To add a script to the Script menu:
* Choose "Home" from the Go menu in the Finder.
* Open the Library folder.
* Open the Scripts folder; if there is not a Scripts folder aldreay, create one - the name of the folder should be "Scripts" (without the quotes).
* Copy the Recursive Set Permissions script from the Fetch Example Scripts into the Scripts folder.
Now when you click the Script menu, you should see an item titled "Recursive Set Permissions."
Then, as I said, select items in Fetch, choose Recursive Set Permissions from the Script menu, and you're all set.
We realize this isn't as nice as a checkbox in a Fetch window, though.
Let me know if you have any further questions or comments.
- Page 1