Re: Apply User and Groups to Items in a Folder
Re: Apply User and Groups to Items in a Folder
- Subject: Re: Apply User and Groups to Items in a Folder
- From: Jay Louvion <email@hidden>
- Date: Wed, 19 Apr 2006 18:46:10 +0200
- Thread-topic: Apply User and Groups to Items in a Folder
Title: Re: Apply User and Groups to Items in a Folder
On 19.4.2006 18:39, entity "Todd Geist" <email@hidden> spake thus:
> Hello,
>
> Is there a way that I can apply the Owner and Group Settings of a
> folder to all of the items in the folder using applescript.
>
> Ideally there will be no password dialog.
>
> Basically the problem is that every new file that goes into this
> folder needs to have the Owner and Group set the same as the folder.
> I was hoping that an Applescript could do it either triggered
> manually or as part of a folder action.
>
> Any ideas?
>
> Thanks very much for your help!
>
> Todd
Setting this as an action folder script will give you read/write permission on all files. Just correct the permission code (here 777) to conform with your needs.
on adding folder items to this_folder after receiving these_items
set thePOSIXfolder to quoted form of (POSIX path of this_folder)
do shell script "chmod -R 777 " & thePOSIXfolder & ""
end adding folder items to
hth
Best,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden