mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 16:22:55 +02:00
convert-outgoingfw: Fix permissions of p2protocols configuration file.
World access can not be granted to this file. It must be writable by nobody and can be read by all users.
This commit is contained in:
@@ -675,5 +675,5 @@ sub build_ovpn_grp
|
||||
sub process_p2p
|
||||
{
|
||||
copy("/var/ipfire/outgoing/p2protocols","/var/ipfire/firewall/p2protocols");
|
||||
chmod oct('0777'), '/var/ipfire/firewall/p2protocols';
|
||||
chown 99, 99, '/var/ipfire/firewall/p2protocols';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user