jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
729 stars 73 forks source link

Does not honor readonly property of original file #51

Closed blueyed closed 9 years ago

blueyed commented 9 years ago

If foo.gpg has read-only file permissions, the descrypted buffer should be set readonly.

This might get handled in a special way later, too - e.g. when writing, but setting it initially is good enough for now probably.

It might be nice if the original file permissions would be perceived as-is, but I am not sure if that makes sense for the executable bit for example.