-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPERM: operation not permitted #49
Comments
it is the same error on a SNAP app Electron as well: |
SNAP does not allow to change the owner, could you tell is how to disable the |
To disable, just pass
|
I have checked my case again. And I noticed, that first time I can edit the file, but any subsequent edits show that error. It seems like they do not release control of the file after they are done editing. |
To work around npm/write-file-atomic#49
I have recently tried to use the package again, now latest v3.0.1. Since there is still no response, I will close this now. To others with this issue, try to test it again, maybe it will work now for you too. |
Since updating to v3 I get this error:
EPERM: operation not permitted, rename 'C:\Users\Tomas\AppData\Roaming\MiArt\var\config\default.json.727851267' -> 'C:\Users\Tomas\AppData\Roaming\MiArt\var\config\default.json'
I use write-file-atomic to save app config inside Electron v5 app. This error only happens on Windows, on MacOS everything works fine. Also if I downgrade back to 2.4.3, it works on Windows again.
Anything I can do to help solve this issue? Or is it something on my end?
The text was updated successfully, but these errors were encountered: