-
Notifications
You must be signed in to change notification settings - Fork 103
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
File permissions are lost whenever a journal file is written to #231
Comments
Can you just rely on directory permissions instead? |
On Windows, maybe. But on *nix, permissions don't inherit like that. And while a workaround is to change the umask, that's for the whole process and the same for all files. I'd rather be able to keep the (potentially different) permissions of each individual file. |
Just ran into this. I am running beancount-import as a dedicated user |
Possibly related to untitaker/python-atomicwrites#42 |
When creating the temporary files to write new changes, no attention seems to be payed to properly re-creating the permissions of the old file. And once the temp file is moved over, those permissions are gone.
The text was updated successfully, but these errors were encountered: