• 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: Change file rights
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change file rights


  • Subject: Re: Change file rights
  • From: Gnarlodious <email@hidden>
  • Date: Fri, 11 Jun 2004 15:18:26 -0600

Entity Peter Mathiessen spoke thus:

> Is it possible to change the read and write rights of files by applescript?
Yes.

> I need to make a script that changes the "read only" option of a file to
> "read and write" option of the file for every one.

You say say something like:

do shell script "sudo chmod o+w /private/etc/httpd/somefile.txt"

This adds (+) owner (o) write (w) permission to the filepath

-- Gnarlie
_______________________________________________
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: 
 >Change file rights (From: Peter Mathiessen <email@hidden>)

  • Prev by Date: Repeat Routine need help!
  • Next by Date: Re: Change file rights
  • Previous by thread: Re: Change file rights
  • Next by thread: Re: Change file rights
  • Index(es):
    • Date
    • Thread