fix(nfs): chmod 777 each exported folder before starting unfsd
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.9 - 2026-03-31
|
||||
|
||||
- fix: permission options on nfs
|
||||
|
||||
## 1.0.5 - 2026-03-31
|
||||
|
||||
- fix: switch to unfs3 user-space NFS server (kernel nfsd not available on HA OS)
|
||||
|
||||
@@ -13,6 +13,8 @@ if [ "${count}" -eq 0 ]; then
|
||||
else
|
||||
for i in $(seq 0 $((count - 1))); do
|
||||
FOLDER=$(jq -r ".shares[${i}].folder" "${CONFIG}")
|
||||
bashio::log.info "Setting permissions on /${FOLDER}..."
|
||||
chmod 777 "/${FOLDER}"
|
||||
NETWORK=$(jq -r ".shares[${i}].allowed_network" "${CONFIG}")
|
||||
READ_ONLY=$(jq -r ".shares[${i}].read_only" "${CONFIG}")
|
||||
ROOT_SQUASH=$(jq -r ".shares[${i}].root_squash" "${CONFIG}")
|
||||
|
||||
Reference in New Issue
Block a user