#!/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