• 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: Applying permissions to all files in all subfolders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applying permissions to all files in all subfolders


  • Subject: Re: Applying permissions to all files in all subfolders
  • From: Tom Giles <email@hidden>
  • Date: Wed, 15 Aug 2007 16:25:21 +0100
  • Organization: BD Solutions

ok cool, that looks helpful. I think what i want it to do though is not reapply perms to everything everytime a file is created, but just to that file where ever it is created in the file structure of this large directory. it's more that the trigger for the script needs to be as deep as possible.
t


John C. Welch wrote:
On 8/15/07 08:53 AM, "Tom Giles" <email@hidden> wrote:

that's a good point about it applying the perms to the whole folder
actually. with your script, if for instance i dragged an item into a subfolder
would that apply the perms to that item? that's what i need to happen...
thanks for your help!

This is where "do shell script" SCREAMS out to be used.

Get the path of the folder, convert it to a POSIX path, (quoted form), and
then run chmod -R <perms> <path of folder>

One line, and it will go as deep as you like.


-- Please note: the clock on my laptop is not functioning correctly and so the time this email looks like it was sent will no longer be correct.

___________
BD Solutions

3rd Floor
95A Rivington Street
London
EC2A 3AY

0207 739 3001

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Applying permissions to all files in all subfolders (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: Applying permissions to all files in all subfolders
  • Next by Date: Re: Applying permissions to all files in all subfolders with chmod
  • Previous by thread: Re: Applying permissions to all files in all subfolders
  • Next by thread: Re: Applying permissions to all files in all subfolders
  • Index(es):
    • Date
    • Thread