• 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: Apply User and Groups to Items in a Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Apply User and Groups to Items in a Folder
      • From: Todd Geist <email@hidden>
References: 
 >Apply User and Groups to Items in a Folder (From: Todd Geist <email@hidden>)

  • Prev by Date: Apply User and Groups to Items in a Folder
  • Next by Date: "Nothing to see here; move along" What the ??
  • Previous by thread: Apply User and Groups to Items in a Folder
  • Next by thread: Re: Apply User and Groups to Items in a Folder
  • Index(es):
    • Date
    • Thread