mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-04 04:51:59 +08:00
adjust comment
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
10698d7df0
commit
55d6971668
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ elif ! sudo -u www-data test -r /var/run/docker.sock; then
|
|||
echo "Trying to fix docker.sock permissions internally..."
|
||||
DOCKER_GROUP=$(stat -c '%G' /var/run/docker.sock)
|
||||
DOCKER_GROUP_ID=$(stat -c '%g' /var/run/docker.sock)
|
||||
# Check if a group with the same group id of /var/run/docker.socket already exists in the container
|
||||
# Check if a group with the same group name of /var/run/docker.socket already exists in the container
|
||||
if grep -q "^$DOCKER_GROUP:" /etc/group; then
|
||||
# If yes, add www-data to that group
|
||||
echo "Adding internal www-data to group $DOCKER_GROUP"
|
||||
|
|
Loading…
Reference in a new issue