Your best friend for file transfer.

Fetch application logoFetch

Changing Permissions (Unix/Linux) (3 posts)

  • Started 9 years ago by funops
  • Latest reply 9 years ago from funops
  • funops Member

    Can I issue a -R recursive when setting Permissions? Equivalent to, say:

    chmod -R 644 directory_name

    Thus everything within and including all subdirectories have their Permissions set accordingly. I have a project with many subdirectories but no shell/command line access. Manually traversing each subdirectory and subsubdirectory, etc., would be slow going as compared to a Recursive setting.

    TIA

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    While there is not a command to do this directly in Fetch, we have a helper AppleScript that will set permissions recursively so that you don't have to do it manually.

    It is part of the Fetch 5 Example Scripts, which you can download from here:

    http://fetchsoftworks.com/downloads.html

    It is the script titled "Recursive Set Permissions" that you will see after you expand the archive.

    To use it, select the folder you want to set permissions on recursively, and run the AppleScript. It will ask you to choose what you want to set the file and folder permissions to, and then will go set them all.

    To make this script more convenient to use, you can install it in a menu so that all you need to do is select the folder in Fetch, choose the script from the menu, and it will run automatically. Please let us know if you would like instructions on how to set that up.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • funops Member

    Perfect, thanks much! I'll let you know if I run into a problem setting up the menu.

    Thanks.

    Posted 9 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.