Skip to content
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

spew and edit_* resets permissions and ownership of file #221

Open
Grinnz opened this issue Nov 3, 2018 · 1 comment
Open

spew and edit_* resets permissions and ownership of file #221

Grinnz opened this issue Nov 3, 2018 · 1 comment
Labels

Comments

@Grinnz
Copy link
Contributor

Grinnz commented Nov 3, 2018

After running edit or edit_lines on a file, its permissions and ownership are reset to the current user+umask. Presumably this is because it creates a new file before replacing the old. It would probably be more desired to maintain the ownership and permissions of the existing file if possible.

@xdg
Copy link
Contributor

xdg commented Oct 30, 2022

Good point and this will be true for spew as well.

@xdg xdg changed the title edit_* resets permissions and ownership of file spew and edit_* resets permissions and ownership of file Oct 30, 2022
@xdg xdg added the bug label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants