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

Assigning privs with AS


  • Subject: Assigning privs with AS
  • From: webguide <email@hidden>
  • Date: Wed, 16 Oct 2002 22:24:06 +1000

G'day all,

I'd like to change the privileges of an AS created file to read/write for
everyone. Each time I try, I manage to generate an error - I'm using:

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

Which generates the error: Finder got an error: Can't set everyones
privileges of file 210 to read write.

If I use this:

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

From which I get: Can't set +class gstp; of 211 to +constant privrdwr;.

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

Thanks

kim
_______________________________________________
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: Assigning privs with AS
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: QuickTime Player Scripting
  • Next by Date: Re: scripting ftp in the terminal
  • Previous by thread: Re: Access to a file via relative path - Thanx to all !
  • Next by thread: Re: Assigning privs with AS
  • Index(es):
    • Date
    • Thread