Browse Source

Tighten access permissions of the key directory

Christoph Biedl 2 years ago
parent
commit
29e886e77d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      debian/tang-common.postinst

+ 1 - 0
debian/tang-common.postinst

@@ -35,6 +35,7 @@ configure)
     # assert db directory
     mkdir -p "$DB_DIR"
     chown _tang:_tang "$DB_DIR"
+    chmod 0750 "$DB_DIR"
 
     ;;
 abort-upgrade|abort-remove|abort-deconfigure)