Create home directory with 0700 permissions
This commit is contained in:
parent
a29a39591f
commit
101380b195
3
debian/postinst
vendored
3
debian/postinst
vendored
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
adduser --system --home /var/lib/bitwarden_rs bitwarden
|
||||
DIR_MODE=0700 adduser --system --home /var/lib/bitwarden_rs bitwarden
|
||||
chmod 700 /var/lib/bitwarden_rs
|
||||
chmod 600 /etc/bitwarden_rs/config.env
|
||||
chmod 600 /etc/bitwarden_rs/Rocket.toml
|
||||
|
Loading…
Reference in New Issue
Block a user