mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
Update share-common.func
This commit is contained in:
@@ -204,8 +204,6 @@ pmx_prepare_host_shared_dir() {
|
|||||||
if command -v setfacl >/dev/null 2>&1; then
|
if command -v setfacl >/dev/null 2>&1; then
|
||||||
setfacl -R -m d:g:"$group_name":rwx -m d:o::rx -m g:"$group_name":rwx "$dir" 2>/dev/null || true
|
setfacl -R -m d:g:"$group_name":rwx -m d:o::rx -m g:"$group_name":rwx "$dir" 2>/dev/null || true
|
||||||
msg_ok "$(translate "Default ACLs applied for group inheritance.")"
|
msg_ok "$(translate "Default ACLs applied for group inheritance.")"
|
||||||
else
|
|
||||||
msg_warn "$(translate "setfacl not found; default ACLs were not applied.")"
|
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user