Skip to content

Controlling Unix-style perms on directories passed through from shared Windows drives #3298

@ShaunCurrier

Description

@ShaunCurrier

File: docker-for-windows/index.md, CC @londoncalling

Would it be possible to get more elaboration in this document about the finer points of controlling the Unix-style permissions that are present on volumes that are passed into the docker container from shared Windows folders?

I am struggling with a dockerized application that refuses to proceed without specific permissions being set on certain volumes/directories and I'm finding precious little Docker for Windows documentation that explains how to control the permissions or if they can even be controlled. The application wants 0770 permissions, but the VM that Docker Engine is running within has them set to `0755' and it appears they cannot be changed.

I have tried changing permissions various ways on the Windows side and changing permissions inside the container via (for example) docker exec -it -u root nextcloud chmod -R 770 /var/www/html, but no dice.

More details in the languishing issue I raised against the application: nextcloud/docker#70

In any event, thanks for the great software you're creating. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions