mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #6178 from nextcloud/enh/noid/test-file
nextcloud-entrypoint: output error message if touch failed
This commit is contained in:
commit
2cc4c6813f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ while ! nc -z "$REDIS_HOST" "6379"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Check permissions in ncdata
|
# 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
|
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.
|
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.
|
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