Re: Change file rights
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.