Post: cellFsUnlink giving EACCES
01-23-2017, 02:12 AM #1
Tustin
Balls of Steel
(adsbygoogle = window.adsbygoogle || []).push({}); So I'm working on an auto updater for Lexicon but I have an issue when trying to unlink the sprx file. I'm storing the updated SPRX file contents into a temp file so I don't have the entire thing in memory at the same time and what I need to do is once the file is done downloading, I want to unlink (delete) Lexicon.sprx and rename the downloaded one to Lexicon.sprx. I don't think it's an issue with me trying to delete an active SPRX file because if I manually chmod the SPRX file to give it full rwx permissions using something like FileZilla, it will work fine. It only errors out when I try to unlink it WITHOUT setting the permissions manually. Even calling cellFsChmod on the file before deleting it doesn't work. Any tips?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo