Skip to content

Commit 044fc9d

Browse files
authored
Fix TrueNAS umask
1 parent 9e3b87e commit 044fc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TrueNAS-25.04.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ sudo systemctl mask debug-shell.service
3030
# Setting umask to 077
3131
umask 077
3232
sudo sed -i 's/^UMASK.*/UMASK 077/g' /etc/login.defs
33-
sudo sed -i 's/^HOME_MODE/#HOME_MODE/g' /etc/login.defs
33+
echo "umask 077" | sudo tee -a /etc/zsh/zshrc
3434

3535
# Setup NTS
3636
unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/refs/heads/main/etc/chrony/conf.d/10-custom.conf | tee /etc/chrony/conf.d/10-custom.conf > /dev/null

0 commit comments

Comments
 (0)