On 11/24/04 1:25 PM, "Simon Forster" <simon-lists at ldml.com> wrote: > We have some files being saved to a directory (by the Finder IIRC). > These files have default permissions of 755 - which is Mac OS X's > default from what I can gather. What we'd like is that files saved to > this particular directory have universal read and write privileges > (777). For fairly obvious reasons, we'd prefer not to change the system > wide defaults, just the mode for this one directory. > > Is this possible? Can one have a directory specific umask? As far as I understand, no - umask is a system-wide setting. > > I can write a cron script to change permissions every 30 minutes. I > imagine I can write a folder action script which'll run a chmod when > something's added to the folder - and presumably I can write a shell > (or Python) script to do a similar task. However, these options seem > inelegant as they're fixing the problem after the event. > > I've had a look around and have learnt a reasonable amount about > permissions and umasks - but I haven't found a direct answer to this > (simple) question. The AppleScript solution seems to be the best, since it happens as soon as new items are added. Kirk Author of: The Mac OS X Command Line: Unix Under the Hood - - - - - - Read my blog: Kirkville -- http://www.mcelhearn.com Musings, Opinion and Miscellanea, on Macs, iPods and more Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France