[F] Fix .gnupg owner
This commit is contained in:
parent
c0ff877d1e
commit
436ebd605a
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ function userrechte() {
|
|||
#gnupg
|
||||
mkdir -p /home/"$user"/.gnupg
|
||||
chmod -R 700 /home/"$user"/.gnupg
|
||||
chown -cRv "$user":users /home/${user}/.gnupg
|
||||
if [ -f /home/${user}/.gnupg/* ]; then
|
||||
chmod -v 600 /home/${user}/.gnupg/*
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue