macOS Sierra: papers protected?
Since upgrading to macOS Sierra public beta, every time I open a paper from my Zotero library in Preview and try to edit it (e.g. Highlight some text) I get a message (from Preview) that “The original document can’t be changed, so a duplicate with your changes has been created.”. I have also reported this to Apple since it is probably due to a change in the OS?
https://www.zotero.org/support/zotero_data
-rw-r--r--@ 1 christian staff ...
which is the same as other PDFs that I can edit. It's located at
~/Library/Application Support/Zotero/Profiles/p4w1twjt.default/zotero/storage/C2ZFSRTT
The enclosing folders up to `p4w1twjt.default` are
drwx------ <n> christian staff
thendrwxr-xr-x <n> christian staff
From what I know this should be ok, but I am not familiar enough to tell for sure?
$ xattr -l O\'Brien....pdf
com.apple.quarantine: 0082;57904424;Preview;
And yes editable files also have the '@'.
We're going to have Zotero 5.0 use ~/Zotero by default for new installations, and we'll also have it migrate existing data directories out of ~/Library/Application Support to address this (though I'm not sure if that part will happen for 5.0 Final).
If I am reading correctly, the following provides a fix until Zotero 5.0: (quoting from Dan above)
"the easiest option is probably just to move your Zotero data directory out of ~/Library and into ~/Zotero or similar."
Please confirm this is all I need to do and if so, kindly give me a little more step by step....having trouble understanding exactly what to do.
Erressler
In preferences, you can click a button to take you to your library folder, ~/zotero. Just move this out of the ~/library path. I put it elsewhere along side my /Documents and /Applications in my root user directory.
Second, this apparently seems simple. However, step one says go to preferences and click on the library folder. When I go to preferences under the apple icon, under Safari, and under Zotero, and I do not see a "library folder". As such, I cannot get past step one. Challenged here in Peachtree Corners.
https://www.zotero.org/support/preferences
1. (Disable automatic sync in the sync tab of the preferences then...) Go to show folder, which opens the data directory in Finder. Then close Zotero and move the entire "zotero" folder (in Finder) to the new location.
2. Restart Zotero. You'll see an empty library. Now again under files and folders, use the custom location button and browse to the new location of the zotero folder. (You'll need to again restart Zotero and you should re-enable auto-sync)
Update: Had to relocate and then restart...everything OK now! Thank you.
As I recall, I had to restart the computer/Zotero or both. I do recall that it did not immediately appear as if it was fixed, but it ended up fixed. Keep fiddling with it! There is enough information in this discussion to make it work.
Blessings, Eric
Now it works.
Oliver
While your setup works now, we are planing to perform a data directory migration on Zotero 5.0 release, which could potentially break it.
1. Clicked on the "Show Data Directory" button in Advanced > "Files and Folders".
Finder opened a window in which a folder named "zotero" was selected.
2. Copied that zotero folder to ~.
In my case, the folder was in /Users/toz/Library/Application Support/Zotero/Profiles/mi3eo0kb.default, i.e. I copied the folder /Users/toz/Library/Application Support/Zotero/Profiles/mi3eo0kb.default/zotero
and pasted it to ~, i.e. now there is a new folder as /home/toz/zotero.
BEWARE: There is another folder named Zotero (capitalized) in the full path, I did not copy that folder, instead I copied the folder named "zotero" three directories below it.
3. Set the Data Directory Location to Custom and pointed it to the new folder.
NOTE: As soon as I clicked on the OK button, Zotero asked me to restart.
4. Removed the old "zotero" folder in /Users/toz/Library/Application Support/Zotero/Profiles/mi3eo0kb.default
I then tried the option in settings to migrate the database to the new default location, Zotero restarted but it didn't move the database...