I'm have a very frustrating permission error on a roaming client.
May 26 21:46:21 iMac Mail: Error writing to /Network/Servers/dolphin.exemple.lan/Users/sha/Library/Mail/CalDAVfirstname.lastname@example.org xemple.lan/.mboxCache.plist: Error Domain=NSCocoaErrorDomain Code=513 UserInfo=0x11719fa30 "You don’t have permission to save the file “.mboxCache.plist” in the folder “CalDAVemail@example.com”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=13 "The operation couldn’t be completed. Permission denied")
iMac:~ sha$ ls -lah /Network/Servers/dolphin.exemple.lan/Users/sha/Library/Mail/CalDAV-ical\@mail.e xemple.lan
drwxrwxrwx+ 3 sha staff 264B May 26 21:46 .
drwxrwxrwx+ 22 sha staff 704B May 26 21:55 ..
-rwxrwxrwx+ 1 sha staff 216B Feb 25 13:31 .mboxCache.plist
The permissions seem fine but still getting this error. It appears to be throughout ~/Library.
What have I missed?
From the ls, it looks like you have ACLs enabled on those objects (the + after the permissions). Maybe the ACL is denying permission to specific users or groups that don't appear in the ls -alh.
Adding the -e to ls should show the ACL for each object. It would show something like:
drwxr-xr-x+ 6 user group 204B Aug 25 2009 tmp
0: group:everyone deny delete
Hope this helps.