• 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: "John C. Welch" <email@hidden>
  • Date: Wed, 15 Aug 2007 10:50:21 -0500
  • Thread-topic: Applying permissions to all files in all subfolders

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.

--
''Look, I don't want to wax philosophic, but I will say that if you're alive
you've got to flap your arms and legs, you've got to jump around a lot, for
life is the very opposite of death, and therefore you must at [the] very
least think noisy and colorfully, or you're not alive.''

- Mel Brooks


 _______________________________________________
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

  • Follow-Ups:
    • Re: Applying permissions to all files in all subfolders
      • From: "Mark J. Reed" <email@hidden>
    • Re: Applying permissions to all files in all subfolders
      • From: Tom Giles <email@hidden>
References: 
 >Re: Applying permissions to all files in all subfolders (From: Tom Giles <email@hidden>)

  • Prev by Date: Re: AS for moving mails to local disk
  • Next by Date: Re: Applying permissions to all files in all subfolders
  • 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