• 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
Chown via shell script (OS X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Chown via shell script (OS X)


  • Subject: Chown via shell script (OS X)
  • From: Chris Prew <email@hidden>
  • Date: Mon, 20 May 2002 16:12:28 -0500

I9m trying to run a script using chown as follows:

do shell script "sudo chown -R " & an_item & " " & the_dest_folder password
"1234" with administrator privileges

And it keeps telling me that the 3chown2 command doesn9t exist. Running the
same command in the terminal works fine. Using a similar terminal command
works just fine - its just the "chown" command that is not found. Anyone
have any idea why this is? Let me know if you've had any success with
anything similar.

Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Chown via shell script (OS X)
      • From: garbanzito <email@hidden>
  • Prev by Date: Re: applescript book
  • Next by Date: Re: Re: Linked lists (was osascript - path to me)
  • Previous by thread: Re: applescript book
  • Next by thread: Re: Chown via shell script (OS X)
  • Index(es):
    • Date
    • Thread