-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
configure /tmp/.zef directory for root / none root users #563
Comments
fwiw you can work around this by setting ZEF_CONFIG_TEMPDIR or changing the appropriate field in the config file |
Yeah, thanks for that hint, how about implementing this separation on zef side,
so an end user don’t bother about that ?
…On Thu, Jul 11, 2024 at 5:53 PM Nick Logan ***@***.***> wrote:
fwiw you can work around this by setting ZEF_CONFIG_TEMPDIR or changing
the appropriate field in the config file
—
Reply to this email directly, view it on GitHub
<#563 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHRHSMWI2ZAJFR3AG4YFVLZL2MAJAVCNFSM6AAAAABKXDMEK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2DSNRVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Potentially. But it is just using $*TMPDIR from core raku. I wonder if raku should consider writable permissions when it picks the value for that dynamic variable |
The problem is not I suggest using something like `$*TMPDIR ~ flat('a'..'z', 'A'..'Z', 0..9, '_').roll(8).join ~ '.zef' instead |
Still does not guarantee collisions? |
There would be a 1 in 248,155,780,267,521 chance of a collision. In other words it just won't happen. But if you are afraid, just make that prefix longer. |
For now I'll be changing the |
Context
Expected Behavior
both command should succeed
Actual Behavior
the second command fails with error
The reason is zef is trying do to something with files located at /tmp/.zef/ directory which was created with root user during first run:
Your Environment
Debian12
The text was updated successfully, but these errors were encountered: