An AppleScript to modify user permissions

Mar 11, '05 09:45:00AM

Contributed by: qwerty denzel

Here is an easy way for changing permissions. This is useful when files are constantly being swapped around between users, or you want to access your files while logged in another administrator's account, and vice versa. Copy and paste this script into Script Editor, and save it when done.

This script makes a list of folders in the 'Users' directory of the startup disk for the user to choose from; the 'Shared' folder is included, but can easily be removed by adding it to the excluded_users property at the top of the script. The same goes for the 'Admin' option. I am willing to see improvements on the script as I am sure it could be improved.

[robg adds: I haven't tested this one ... and keep in mind that changing permissions can lead to sometimes unintended consequences, so use some caution...]

Comments (9)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050310000226144