New Folder Needs Password
New Folder Needs Password
- Subject: New Folder Needs Password
- From: Luther Fuller <email@hidden>
- Date: Wed, 09 Dec 2009 18:18:26 -0600
Finally. Found a work-around ...
tell application "System Events" to set userName to (name of current user) as text tell application "Finder" set owner of diskAlias to userName set owner privileges of diskAlias to read write -- -- -- -- set newFolderAlias to (make new folder at diskAlias with properties {name: newName, comment:""}) as alias
The folder is now created without the need for an admin password.
But, why do I need to explicitly set the owner and owner's privileges when the disk is created correctly with these privileges? I'm still confused.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden