• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Folder Needs Password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Folder Needs Password


  • Subject: Re: New Folder Needs Password
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 10 Dec 2009 13:03:49 -0600

The culprit here is the "ignore ownership" checkbox on a volume.

After trying lots of code that does not work, I finally decided to do this ...
1. User responds to choose folder and can create new folders
2. Create a new sparsebundle file in the chosen folder
3. Mount the sparsebundle's disk
4. Create a new folder in the disk
5. Unmount the disk
6. Do tell application "Finder"
set everyones privileges of imageFileAlias to none
set group privileges of imageFileAlias to none
end tell

If the disk's "ignore ownership" is UNCHECKED, then this works as desired. I no longer get the request for an admin password in step 4. (I can't explain this.) And the sparsebundle file cannot be opened by another user unless the privileges are changed via an admin password.

If the disk's "ignore ownership" is CHECKED, however, then the owner of the sparsebundle file is always shown as the current user. (This seems odd.)  Anyone can mount the sparsebundle's disk. I'm not sure if this is correct behavior or not. It may be, but it still seems odd.

 _______________________________________________
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

References: 
 >New Folder Needs Password (From: Luther Fuller <email@hidden>)
 >Re: New Folder Needs Password (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: New Folder Needs Password
  • Next by Date: Re: Speakable Item and SpeechRecognitionServer
  • Previous by thread: Re: New Folder Needs Password
  • Next by thread: Re: New Folder Needs Password
  • Index(es):
    • Date
    • Thread