• 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: Assigning privs with AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assigning privs with AS


  • Subject: Re: Assigning privs with AS
  • From: Emmanuel <email@hidden>
  • Date: Wed, 16 Oct 2002 19:19:02 +0200

At 10:24 PM +1000 16/10/02, webguide wrote:
G'day all,

tell application "Finder"
set everyones privileges of file myfile to read write
end tell

Can anyone point me to the correct syntax for assigning privileges to a
file?

This seems to work (theAlias is an alias).

tell application "Finder" to set owner privileges of theAlias to read write
tell application "Finder" to set group privileges of theAlias to read write
tell application "Finder" to set everyones privileges of theAlias to read write

Emmanuel
_______________________________________________
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.

References: 
 >Assigning privs with AS (From: webguide <email@hidden>)

  • Prev by Date: Re: get volume
  • Next by Date: URL Access Scripting- post data
  • Previous by thread: Assigning privs with AS
  • Next by thread: How to list local volumes ...
  • Index(es):
    • Date
    • Thread