fix(nfs): permission options on nfs
This commit is contained in:
@@ -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": [
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user