Files
ToolDisks_ISO-Main/config/hooks/normal/0091-UpdateNetworkManagerPerms.chroot

6 lines
240 B
Bash

#!/bin/bash
#Set perrmissons for saved networks in NetworkManager, if configs exist
if ls /etc/NetworkManager/system-connections/*.nmconnection 1> /dev/null 2>&1 ; then
chmod 600 /etc/NetworkManager/system-connections/*.nmconnection
fi