Skip to content

Folder Permission in Alpine images are not root group writeable #103

Open
docker-library/official-images
#11257
@vbasem

Description

@vbasem

The folder permissions for /var/lib/arangodb3 /var/lib/arangodb3* are not being properly set to 775 as mentioned in the Dockerfile:

echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \
echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps &

The echo is rendering the command ineffective. This causes environments that disallow root user to fail when starting the ID container which needs to write to those folders which only have read permission by default.

I fixed it locally by rebuilding the image by simply removing the echo in the 2 commands above.

Was the echo on purpose?

Basem Vaseghi basem.vaseghi@daimler.com, Daimler TSS GmbH, legal info/Impressum

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions