Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Wrong ownership running as root #183

Open
maleadt opened this issue Oct 3, 2019 · 0 comments
Open

Wrong ownership running as root #183

maleadt opened this issue Oct 3, 2019 · 0 comments

Comments

@maleadt
Copy link

maleadt commented Oct 3, 2019

Installing FFTW.jl as root (e.g. creating Docker images, or deploying system-wide), ownership of deployed artifacts are wrong:

# rm -rf .julia
# julia -e 'using Pkg; Pkg.add("FFTW");'
# ls -la .julia/packages/FFTW/MJ7kl/deps/
total 28
drwxr-xr-x 3 root root 4096 okt  3 08:20 .
drwxr-xr-x 6 root root 4096 okt  3 08:20 ..
-r--r--r-- 1 root root 3614 okt  3 08:20 build_fftw.jl
-r--r--r-- 1 root root 1731 okt  3 08:20 build.jl
-rw-r--r-- 1 root root 2243 okt  3 08:20 build.log
-rw-r--r-- 1 root root 1190 okt  3 08:20 deps.jl
drwx------ 7 1000 1000 4096 okt  3 08:20 usr

The wrong ownership comes from tar respecting the original owner in the tarball, sabae with UID=1000. --no-same-owner could prevent this, but I haven't looked at the other extractors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant