diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 36a0c59e..5a0a2dd5 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -39,7 +39,10 @@ $(stat -c "%u:%g %a" "$NEXTCLOUD_DATA_DIR") (userID:groupID permissions) but they should be: 33:0 750 -(userID:groupID permissions)" +(userID:groupID permissions) +Also make sure that the parent directories on the host of the directory that you've chosen as datadir are publicly readable with e.g. 'sudo chmod +r /mnt' (adjust the command accordingly to your case) and the same for all subdirectories. +Additionally, if you want to use a Fuse-mount as datadir, set 'allow_other' as additional mount option. +For SMB/CIFS mounts as datadir, see https://github.com/nextcloud/all-in-one#can-i-use-a-cifssmb-share-as-nextclouds-datadir" exit 1 fi rm "$NEXTCLOUD_DATA_DIR/this-is-a-test-file"