-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Version 4.34.0 with VirtioFS breaks file permissions again #7406
Comments
Hm.. wondering if this is related to CVE-2024-32004 - the fix for that introduced an error message about "dubious ownership"; git/git@f4aa8c8 |
Looks like VirtioFS was broken on purpose to sell the new subscription only filesharing. |
Still an issue on 4.34.3.
Without VirtioFS, no permission issues:
With VirtioFS, permission issues, but only (as expected) in bind mounts:
|
no high hopes that this will get fixed. |
The issue seems to be solved with DockerDesktop 4.35.0 released yesterday. |
Hi, If you're still encountering this issue could you try again with the latest 4.35.1? Also it's worth looking in settings and trying it with both Let me know what happens! |
Description
We had the issue that a team member was not able to run composer install in a docker container without any git dubious ownership errors in some composer packages.
I was trying to reproduce the issue and could not find any issue at first until I saw that there is a docker.app upgrade from version 4.33.0 to 4.34.0. Finally I could reproduce the issue. I was downgrading docker to 4.33.0 again for reproducing the previous state. It was running fine, but not with 4.34.0. After checking the issues I found the issues about permission issues with virtioFS. I tried the upgrade again with version 4.34.0 and switched the file sharing settings from VirtioFS to gRPC FUSE and it was working as expected.
Reproduce
docker compose exec containername bash
to get into the container consolecomposer install
Install of any/package failed
The cloning process into a directory will fail with this error summary:
fatal: detected dubious ownership in repository at 'install target directory'
Expected behavior
Install process with
composer install
run without any (permission) errors.docker version
Client: Version: 27.2.0 API version: 1.47 Go version: go1.21.13 Git commit: 3ab4256 Built: Tue Aug 27 14:14:45 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.34.0 (165256) Engine: Version: 27.2.0 API version: 1.47 (minimum version 1.24) Go version: go1.21.13 Git commit: 3ab5c7d Built: Tue Aug 27 14:15:41 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.20 GitCommit: 8fc6bcff51318944179630522a095cc9dbf9f353 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
CDFACD1D-F7C3-4893-A89D-9066ADF69301
Additional Info
No response
The text was updated successfully, but these errors were encountered: