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

Make suda:// buffer more secure #14

Closed
mox-mox opened this issue May 9, 2019 · 3 comments · Fixed by #16
Closed

Make suda:// buffer more secure #14

mox-mox opened this issue May 9, 2019 · 3 comments · Fixed by #16

Comments

@mox-mox
Copy link

mox-mox commented May 9, 2019

When opening files that only root can read using suda, nvim will still create a world-readable backup file. For files containing sensitive information, this is highly undesirable.

@lambdalisue
Copy link
Owner

Good point. I'll consider the way once I get time. Well, PR is really welcome as well 👍

@lambdalisue
Copy link
Owner

noswapfile as well.

Thanks to @ichizok, https://vim-jp.slack.com/archives/C03C4RC9F/p1558601882079900

@lambdalisue
Copy link
Owner

lambdalisue commented May 23, 2019

  • nobackup
  • noswapfile
  • noundofile
  • bufhidden=wipe
    • Not sure if it should be because <C-o>/<C-i> does not work with wipe

Anything else?

@lambdalisue lambdalisue changed the title Suppress creation of backup files Make suda:// buffer more secure May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants