Skip to content

Instantly share code, notes, and snippets.

@sunny
Created September 14, 2011 08:33
Show Gist options
  • Save sunny/1216110 to your computer and use it in GitHub Desktop.
Save sunny/1216110 to your computer and use it in GitHub Desktop.
AppleScript Droplet that adds read/write permissions on all the dropped files and folders
-- "Mal aux droits" droplet
on open the_files
repeat with f in the_files
set f to POSIX path of f
do shell script "sudo chmod -R a+rw " & quoted form of f with administrator privileges
end repeat
end open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment