-
Notifications
You must be signed in to change notification settings - Fork 8
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
root is owner of files created by msconvert #11
Comments
If switching user with --user then use |
Thank you for looking into this! I tried
Then I changed |
Did you ever figure out how to solve this problem of root owning files created by msconvert? |
Does this happen with mywine with the latest container version? |
I'm using the latest container version. I'm getting the same error tczauderna reported:
Note the same command works if I remove |
I believe the issue is that the folder docker run -it --rm -v ./.mywineprefix:/mywineprefix -v /your/data:/data proteowizard/pwiz-skyline-i-agree-to-the-vendor-licenses mywine msconvert /data/file.raw -o /data In case anyone is running in Singularity (like I am), you would add singularity exec -B ./mywineprefix:/mywineprefix -B /your/data:/data docker://proteowizard/pwiz-skyline-i-agree-to-the-vendor-licenses mywine msconvert /data/file.raw -o /data |
Hi,
I have pulled the image
docker pull chambm/pwiz-skyline-i-agree-to-the-vendor-licenses
and I basically run it like this
docker run -it --rm -e WINEDEBUG=-all -v /your/data:/data chambm/pwiz-skyline-i-agree-to-the-vendor-licenses wine msconvert /data/file.raw
It works beautifully, however, all files created by msconvert are owned by root.
Is this intended behaviour?
Can this be changed via parameters?
I have tried adding a user
--user "$(id -u):$(id -g)"
running
docker run -it --rm --user "$(id -u):$(id -g)" -e WINEDEBUG=-all -v /your/data:/data chambm/pwiz-skyline-i-agree-to-the-vendor-licenses wine msconvert /data/file.raw
but this causes an error
$WINEPREFIX is not owned by you
I have also tried to run
wine_anyuser
which doesn't cause the error from abovedocker run -it --rm --user "$(id -u):$(id -g)" -e WINEDEBUG=-all -v /your/data:/data chambm/pwiz-skyline-i-agree-to-the-vendor-licenses wine_anyuser msconvert /data/file.raw
but then all files are owned by root as well.
Thanks!
The text was updated successfully, but these errors were encountered: