• 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
New Folder Needs Password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Folder Needs Password


  • Subject: New Folder Needs Password
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 09 Dec 2009 17:26:36 -0600

In Snow Leopard, my script does 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

When I run the script on a test user with Standard privileges, step 4 requires an admin user name and password. It should NOT require this.

The offending line of code is ...

set newFolderAlias to (make new folder at diskAlias with properties {name:newName, comment:""}) as alias

where diskAlias is an alias to the just mounted disk. I've tried putting

set ignore privileges of diskAlias to true

before the first line of code, but the problem persists.

Eventually, I discovered that the problem is caused by the "ignore ownership" box on the HD partition not being checked. But, if this is a problem, then it should also be a problem in steps 1 and 2, but it's not.

I'm confused. Is there an un-confuser around?

 _______________________________________________
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

  • Follow-Ups:
    • Re: New Folder Needs Password
      • From: Roger Howard <email@hidden>
  • Prev by Date: Re: Script debugger bugging out
  • Next by Date: New Folder Needs Password
  • Previous by thread: Re: Script debugger bugging out
  • Next by thread: Re: New Folder Needs Password
  • Index(es):
    • Date
    • Thread