I am getting the following error:
The document could not be saved. You don't have permission
The error is not helpful at all because it does not point to where I don't have permission. To save the file, I need to Duplicate it each time, which is very painful. This time the error is from CleanWriterPro, but I have also received it from Numbers and TextEdit. Saving with TextMate works fine.
Permissions to the file are set up correctly according to Finder.
I think this must be some kind of problem with AutoSave permissions but despite googling with the error, I have not yet figured out what's wrong.
I found one possible culprit for this problem for me:
grant:Library joneskoo $ pwd
grant:Library joneskoo $ ls -lad Autosave\ Information/
drwx------ 2 root staff 68 Sep 25 2010 Autosave Information/
Since Library is hidden in Lion, it needs to be made visible before the permissions can be fixed in Finder:
chflags nohidden ~/Library
After unhiding the Library, I opened the Get Information for Library, clicked the lock and selected "Apply to enclosing items" so that all files in Library made owned by me and no permissions for others.
However, CleanWriterPro is still not able to save the file in Documents, even though I repeated the step for Documents and Desktop. I could not reproduce the problem in Numbers now.
Repairing Disk permissions did not help.
Possibly related: I can't even rename files in Finder now under Documents without typing my password. Techrepublic: Introduction to OS X access control lists.
grant:~ joneskoo $ ls -led Documents/
drwxr-xr-x+ 44 joneskoo staff 1496 Jan 17 06:55 Documents/
0: group:everyone deny delete
I don't know what introduced that ACL, Finder? How can I remove it?
The question is: what are all the places I need to check to fix this problem?