You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Result
Have an "Easy to use" experience with this piece of software, as stated on it's website.
Actual Result and Steps To Reproduce (combined)
I first tried downloading darling_0.1.20230310.jammy_amd64.deb from the releases. Since I'm not on debian I've used deb2targz to unpack the files from the deb package and then copied everything from it on my system (/usr/bin, /usr/lib, /usr/libexec, /usr/share).
It seems to work, but only from the root user. I cannot use it from any other user. As a result I cannot install brew or do most of the things I need to do. Perhaps it has something to do with my system ?
Sorry, the `/usr/bin/darling' binary is not setuid root, which is mandatory.
Darling needs this in order to create mount and PID namespaces and to perform mounts.
I also tried building from source as per build instructions, but I ran into a linker error and bailed. I do not wanna try again. It takes a lot of disk space and a long time to build.
Can I get darling to work from my regular non-root user without having to build from source ?
sudo chmod 4775 /usr/bin/darling or sudo chmod u+s /usr/bin/darling should fix that error at least.
Thank you, that does indeed fix the error. I'm guessing the debian package would have probably set the permissions too if I'd have used it the intended way.
A good way to install darling binaries on a non-debian distro would still be a huge improvement, even a tar ball along with instructions on how to set the permissions would suffice (or including the perms in the tarball and instructing the users to extract it with -p (--preserve-permissions)).
If that's out scope for darling, then feel free to close this issue.
Expected Result
Have an "Easy to use" experience with this piece of software, as stated on it's website.
Actual Result and Steps To Reproduce (combined)
I first tried downloading
darling_0.1.20230310.jammy_amd64.deb
from the releases. Since I'm not on debian I've used deb2targz to unpack the files from the deb package and then copied everything from it on my system (/usr/bin, /usr/lib, /usr/libexec, /usr/share).It seems to work, but only from the root user. I cannot use it from any other user. As a result I cannot install brew or do most of the things I need to do. Perhaps it has something to do with my system ?
I also tried building from source as per build instructions, but I ran into a linker error and bailed. I do not wanna try again. It takes a lot of disk space and a long time to build.
Can I get darling to work from my regular non-root user without having to build from source ?
System Information
The text was updated successfully, but these errors were encountered: