Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Avoid drop box file permission issues' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid drop box file permission issues
Authored by: beauh on Oct 09, '08 12:45:17AM

This is due to ACLs. 10.5 by default puts an ACL with inheritance for the user on the drop box folder, this ensures that even if they aren't the POSIX owner of a file (they won't be), they still have control over the file. Any files copied into the dropbox will inherit the ACL. However, files get ACL inheritance during creation, hence the "copy" solving the problem (a new file is spawned), but not the move.

Keep in mind that if you drag a file into a different directory on the same volume, default is move, not copy; if you do this over a file share, the operation will likely involve the spawning of a new file and trigger inheritance.

You can see the ACL using ls -ael /Users/myUser/Public... There are a number of reasons that the ACL might not have been applied to the Drop Box folder, upgraded from 10.4, manual manipulation of home directory files, etc...





[ Reply to This | # ]
Avoid drop box file permission issues
Authored by: beauh on Oct 09, '08 12:50:58AM
Avoid drop box file permission issues
Authored by: kirkmc on Oct 09, '08 09:25:40AM

This works. Thanks.

It turns out that none of the drop boxes in question have ACLs. Why, I don't know...

Kirk

---
Read my blog: Kirkville -- http://www.mcelhearn.com
Musings, Opinion and Miscellanea, on Macs, iPods and more



[ Reply to This | # ]