mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set all log files to 600
This commit is contained in:
parent
283597589b
commit
d6cb86d1f0
2
etc/rc
2
etc/rc
@ -250,7 +250,7 @@ else
|
||||
fi
|
||||
fi
|
||||
# change permissions on newly created fifolog files.
|
||||
chmod 0600 /var/log/system.log /var/log/filter.log /var/log/dhcpd.log /var/log/vpn.log /var/log/portalauth.log /var/log/relayd.log
|
||||
chmod 0600 /var/log/*.log
|
||||
|
||||
echo -n "."
|
||||
DEVFS=`mount | grep devfs | wc -l | cut -d" " -f8`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user