Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Permissions when new folder made



I've go an AppleScript which mounts a remote volume, checks for the existence of a directory and, if it's not there, creates a new directory before dropping images into it.

The containing directory has permissions of 777 (rwx for everyone). The new directory ends up with 755 (rwx for owner, r-x for everyone else).

1) I thought that items inherited their containing directory's permissions? Although we do have 2 different users here - all be it belonging to the same group.

2) How can I set the new directory to have permissions of 777? Do I have to "do shell script..."?

TIA

Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.