Permission error when packing to squashfs file on Linux #248
Labels
stale::recovered
[bot] recovered after being marked as stale
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
While running command like this
Things break when copying
activate
script over into temp location, this happens whenroot
When creating temp copy of the environment squashfs plugin prefers to use hard-links when copying files on Linux
conda-pack/conda_pack/formats.py
Lines 439 to 443 in fcba5e0
but this doesn't work when source file is not owned by the user running
conda pack
. This is the case whenconda-pack
is installed byroot
in base environment, while user running the packing is notroot
conda-pack/conda_pack/formats.py
Line 458 in fcba5e0
in the above
copy_func
ispartial(os.link, follow_symlinks=False)
.os.link
should be used only when source and destination share:st_uid
)Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: