applescript/automator to change folder permissions?

Discussion in 'macOS' started by shecky, May 13, 2008.

  1. shecky Guest


    May 24, 2003
    Obviously you're not a golfer.
    i know zero about applescript and automator.

    my partner and i swap folders of files back and forth regularly. when she drops a folder into my drop box, i need to do a 'get info' on the folder, hit the plus sign and the bottom, enter my password, add myself to the list of names, make my permissions read+write, and then apply to all enclosed items. i end up doing this 20 times a day.

    is there a script or action i can have to do it in one click?

  2. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    /bin/chmod -R u+wr "/Users/shecky/Public/Drop Box/"
    /bin/echo Done.
    Assuming "shecky" is your username, change accordingly.

    Save it as whateverfilename.command and then you can double click it in the Finder to run the shell script.

    EDIT: But you have to make it an executable first..

    chmod u+x /Users/shecky/whereever/the/file/is/whateverfilename.command

Share This Page