Open wohltat opened 3 years ago
That was one of the things in mind quite some time. Short answer: It should be possible, because Docker can do it, right?
Long answer: I couldn't find a proper solution yet. I tried linux-user-chroot
but maybe I didn't provide appropriate options, I'm not sure. I guess it might be possible via taking advantage of Linux Namespaces, which I don't know how.
However, it's worth to note that FreeCAD is run with regular user permissions (not root). If you keep run-in-chroot.sh
script under control (you only update this repository with changes reviewed by yourself) I guess there is nothing to worry about.
I remember there are some ways to run LXC without root permissions. Maybe it's also worth to take a look at.
Note to myself: https://unix.stackexchange.com/a/297307/65781
How hard is it to make the scripts for building and running FC work with user permissions?