mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
nextcloud-entrypoint: output error message if touch failed
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
77dd56bade
commit
d164eea1ee
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ while ! nc -z "$REDIS_HOST" "6379"; do
|
|||
done
|
||||
|
||||
# Check permissions in ncdata
|
||||
touch "$NEXTCLOUD_DATA_DIR/this-is-a-test-file" &>/dev/null
|
||||
touch "$NEXTCLOUD_DATA_DIR/this-is-a-test-file"
|
||||
if ! [ -f "$NEXTCLOUD_DATA_DIR/this-is-a-test-file" ]; then
|
||||
echo "The www-data user doesn't seem to have access rights in the datadir.
|
||||
Most likely are the files located on a drive that does not follow linux permissions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue