Skip to content

root is owner of files created by msconvert #11

@tczauderna

Description

@tczauderna

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 above
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_anyuser msconvert /data/file.raw
but then all files are owned by root as well.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions