mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:36:45 +00:00
tools: fix frr pathspace folder permissions
The pathspace folder in /var/run needs the x permission for the group too Otherwise vtysh fails when running it with groups frrvty and frr: $ vtysh -N gateway % Can't open configuration file /etc/frr/gateway/vtysh.conf due to 'Permission denied'. vtysh_connect(/var/run/frr/gateway/zebra.vty): stat = Permission denied Signed-off-by: Steffen Neubauer <s.neubauer@syseleven.de>
This commit is contained in:
parent
d04e7788c1
commit
0fc6a5f8ed
@ -60,7 +60,7 @@ chownfrr() {
|
||||
[ -n "$FRR_GROUP" ] && chgrp "$FRR_GROUP" "$1"
|
||||
[ -n "$FRR_CONFIG_MODE" ] && chmod "$FRR_CONFIG_MODE" "$1"
|
||||
if [ -d "$1" ]; then
|
||||
chmod u+x "$1"
|
||||
chmod gu+x "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user