fix(nfs): permission options on nfs

This commit is contained in:
2026-03-31 12:30:30 +02:00
parent ab6901cf4b
commit a265317cd2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "NFS Server", "name": "NFS Server",
"version": "1.0.8", "version": "1.0.9",
"slug": "nfs_server", "slug": "nfs_server",
"description": "Expose Home Assistant media folder via NFS.", "description": "Expose Home Assistant media folder via NFS.",
"arch": [ "arch": [

View File

@@ -29,6 +29,7 @@ else
else else
OPTIONS="${OPTIONS},no_root_squash" OPTIONS="${OPTIONS},no_root_squash"
fi fi
OPTIONS="${OPTIONS},sync,no_subtree_check,insecure"
bashio::log.info "Exporting ${MOUNT_PATH} to ${NETWORK} (${OPTIONS})..." bashio::log.info "Exporting ${MOUNT_PATH} to ${NETWORK} (${OPTIONS})..."
EXPORT_LINE="${MOUNT_PATH}" EXPORT_LINE="${MOUNT_PATH}"
@@ -40,7 +41,6 @@ else
echo "${EXPORT_LINE}" >> /etc/exports echo "${EXPORT_LINE}" >> /etc/exports
done done
fi fi
cat /etc/exports cat /etc/exports
# Start unfs3 user-space NFS server in foreground # Start unfs3 user-space NFS server in foreground