File Access Denied on sync (2.0)
Hi there. I've recently upgraded to 2.0 and I'm now encountering a problem when attempting to sync.
I've just raised an error report:
1490765786
Firefox About Dialogue:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
The problem seems to stem from the following line in storage.js:
file.lastModifiedTime = attachmentData[item.id].mtime;
Here's the relevant debug (I'm guessing) from the log:
(3)(+0000000): F:\M801\zotero\storage\227PV6PE\Feedback Control Theory - Book.PDF
(3)(+0000006): Mod time didn't match (1258224934727!=1258224935000) but hash did for Feedback Control Theory - Book.PDF -- updating file mod time
(1)(+0000001): 'name' => "NS_ERROR_FILE_ACCESS_DENIED"
'QueryInterface' => function(...){...}
'message' => "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.lastModifiedTime]"
[extra debug output removed — D.S.]
Any ideas? I'd really like to sync as soon as possible because I have a bunch of important docs that I need to use elsewhere and I'd really rather not do it all over again manually :) It may obviously be that the sync has occurred but the green indicator bar is not visible if that's the case. Can you advise on that?
I tried replacing all the permissions on the files under the storage directory in case something was amiss but that didn't seem to help.
Great tool by the way, this is the first serious problem I've encountered after over a year of use!
Let me know if you need more info.
Best Regards,
James
I've just raised an error report:
1490765786
Firefox About Dialogue:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
The problem seems to stem from the following line in storage.js:
file.lastModifiedTime = attachmentData[item.id].mtime;
Here's the relevant debug (I'm guessing) from the log:
(3)(+0000000): F:\M801\zotero\storage\227PV6PE\Feedback Control Theory - Book.PDF
(3)(+0000006): Mod time didn't match (1258224934727!=1258224935000) but hash did for Feedback Control Theory - Book.PDF -- updating file mod time
(1)(+0000001): 'name' => "NS_ERROR_FILE_ACCESS_DENIED"
'QueryInterface' => function(...){...}
'message' => "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.lastModifiedTime]"
[extra debug output removed — D.S.]
Any ideas? I'd really like to sync as soon as possible because I have a bunch of important docs that I need to use elsewhere and I'd really rather not do it all over again manually :) It may obviously be that the sync has occurred but the green indicator bar is not visible if that's the case. Can you advise on that?
I tried replacing all the permissions on the files under the storage directory in case something was amiss but that didn't seem to help.
Great tool by the way, this is the first serious problem I've encountered after over a year of use!
Let me know if you need more info.
Best Regards,
James
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I'm not sure how Zotero manipulates files i.e. does the software use the credentials of the currently authenticated user? Either way I changed permissions under the storage directory so that any user had permissions to modify and delete files which has fixed the problem.
Obviously I'm not sure why this never happened before. Is it because something has changed in the access control model with Firefox or Zotero?
Thanks,
James