Re: Setting Access privileges
Re: Setting Access privileges
- Subject: Re: Setting Access privileges
- From: Axel Luttgens <email@hidden>
- Date: Mon, 06 Aug 2001 09:25:39 +0200
- Organization: ---
I haven't thought a lot about your question, but I would be inclined to
say that you would have to recurse within each of your folders (in
folder "Year 7"); and to set desired privileged of each encountered
folder.
Or, instead of recursing, trying to play with "every folder of entire
contents of folder..."; this could be worth a trial, even if some people
seem to encounter odd behaviors with that command (likely to depend on
AppleScript's version).
My guess is that the "Copy these privileges to all enclosed folders"
button just triggers such an action (which wouldn't be a Finder's
primitive).
Another point: is it really needed to open the sharing window in order
to set sharing privileges? I don't think so; and not doing it would
speed your script a lot.
Hope this helps,
Axel
Doug Watkins a wrote:
>
I have the following script to set each student as the user/group of
>
their folder (and the staff group as owner) on a server which works
>
fine except for one problem. The script only sets the owner of the
>
user's top level folder - all enclosed folders retain their original
>
privileges. This would normally be rectified by clicking the button
>
in the Sharing Window to "Copy these privileges to all enclosed
>
folders". I can't see anything in the script library to accomplish
>
this. Any ideas? [...]