You are not logged in.
I upgraded from blHydrogen to blBeryllium and am having problems using make to compile c projects.
Specifically, using blHydrogen (or any other linux for that matter), running make on a c project does not require sudo/root. Compiling the same c projects in blBeryllium, I keep getting permission denied errors. My workaround is to run sudo make, but that shouldn't be necessary.
What changed? How to fix this?
Offline
Hi @caliperinos I'm sorry you're having this issue, but I don't think it's due to anything that BunsenLabs has done. I use Beryllium on a daily basis and don't recall any such permissions problem on the (rare) occasions I use 'make'. Can you compare with another system using Debian 11?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Agreed, it is odd.
I ran beryllium in virtualbox before fully installing it. In virtualbox on the live run from the iso file, make runs just fine. I noticed the sudoers entry for the live user on the iso, setting it up as
myusername ALL=(ALL) NOPASSWD: ALL
on the final install as a workaround. I tried ubuntu and debian, and they accept the makefiles with no problem.
If anyone wants to try it, I am using openframeworks. Download that and try to make one of the examples. Permission denied errors when trying to make new directories and files during the compile process.
After make fails, I will run
sudo chown -R user:user /pathToOpenframeworks/
then rerun make, which will work. But, when doing make clean, then make, it fails on permission denied.
I checked the makefiles and nowhere will it try to set root ownership of files. I also tried making a barebones c program with a minimal makefile, and it fails on permission denied too.
Offline
I tried ubuntu and debian, and they accept the makefiles with no problem.
What was the Debian version you tried? Beryllium is Debian 11 and should behave the same (for this, anyway) as regular Debian 11.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
If anyone wants to try it, I am using openframeworks. Download that and try to make one of the examples. Permission denied errors when trying to make new directories and files during the compile process.
Sorry, this is a rather large download, and also needs some setting up before use. It looks as if it would take more time than I have free right now.
Of course, you've done all this I guess: https://openframeworks.cc/setup/linux-install/
I also tried making a barebones c program with a minimal makefile, and it fails on permission denied too.
Stripping the problem down to something basic is a good approach.
Could you share the content of the minimal files you used?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I don't care anymore. This whole thing is a waste of time.
Offline