• 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: duplicate command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicate command


  • Subject: Re: duplicate command
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 12 Apr 2013 09:20:49 -0500

On Apr 12, 2013, at 8:26 AM, koenig.yvan wrote:

A password may be requested under Mountain Lion for some specific folders in which the system doesn't want changes.
The root of the boot volume is one of these folders.

Thanks!

I just tested my application in Mt Lion which uses 

do shell script "cp -np " & sourcePath & space & targetPath

When I tried to copy a message from Mail to the root of the boot volume,
I got an error message from the code, above, ending with the phrase
"Permission denied.". There was no request for a password.

A reading of the man page for 'cp' may reveal a detail on how handle a password.
It may not be an improvement over 'duplicate', however.


 _______________________________________________
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: duplicate command
      • From: "koenig.yvan" <email@hidden>
References: 
 >Re: duplicate command (From: Robert Cuilla <email@hidden>)
 >Re: duplicate command (From: Luther Fuller <email@hidden>)
 >Re: duplicate command (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: duplicate command
  • Next by Date: Re: duplicate command
  • Previous by thread: Re: duplicate command
  • Next by thread: Re: duplicate command
  • Index(es):
    • Date
    • Thread