Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

running the scripts without root permission #16

Open
wohltat opened this issue Mar 20, 2021 · 2 comments
Open

running the scripts without root permission #16

wohltat opened this issue Mar 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@wohltat
Copy link

wohltat commented Mar 20, 2021

How hard is it to make the scripts for building and running FC work with user permissions?

@ceremcem ceremcem added the enhancement New feature or request label Mar 20, 2021
@ceremcem
Copy link
Owner

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.

@ceremcem
Copy link
Owner

Note to myself: https://unix.stackexchange.com/a/297307/65781

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants