tamentis/mdp — pull request #2 by wujiang (2012-10-26 19:05:14+00:00)
Title: Change password file mode after saving

Right now, after I saved the password, its mode changed to 664. But when we use mdp -e to edit it, it expects its mode to be 600. The problem happens when run ```gpg -r xxxxxx -e xxxxx``` to encrypt the temp file. The mode for the output gpg file is 664. I didn't find any options in gpg to configure the output file mode. What I did was to call chmod to change the password file mode after the physical link.