]> Sergey Matveev's repositories - passman.git/blobdiff - passman
Raise copyright years
[passman.git] / passman
diff --git a/passman b/passman
index b6e15279f6736a67689780ee4b17da74cc7e8224..83c585b135eac49ca047a0d058687f4863da728e 100755 (executable)
--- a/passman
+++ b/passman
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 # passman -- simple password manager
-# Copyright (C) 2013-2016 Sergey Matveev (stargrave@stargrave.org)
+# Copyright (C) 2013-2019 Sergey Matveev (stargrave@stargrave.org)
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -38,6 +38,7 @@ add)
     [ -n "$passwd" ] || passwd=$(generator)
     echo Adding password for $dst
     mkdir -p $DB/$dst
+    umask 077
     echo "$passwd" > $DB/$dst/passwd
     ;;
 *)