Page 1 of 1
Permissions on /dev
Posted: 27. Sep 2024, 09:31
by Van_Vinkle
A friend of mine has advised me to test the internet browser Brave. I installed it, and apparently all is right, except for that I cannot launch it from the icon in the desk.
I've tried to initiate from the terminal, but it also fails and gives some lines of information, between which:
Code: Select all
This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.
I did, and the browser started fine. The problem is that permissions on /dev are owned by root and erased every time the computer starts.
How can I fix it?
Re: Permissions on /dev
Posted: 27. Sep 2024, 16:39
by gapan
You could always put the
in your /etc/rc.d/rc.local.
Anyway, I would highly suggest to install brave from flathub if you're going to use it. You certainly don't need such a workaround with it.
Re: Permissions on /dev
Posted: 28. Sep 2024, 10:46
by Van_Vinkle
As usual, your recipe solved the issue. Thanks.
Concerning flathub: my experience with this tool is bad. I've downloaded and installed Brave from sbopkg, and all was fine.
Re: Permissions on /dev
Posted: 29. Sep 2024, 07:22
by gapan
Van_Vinkle wrote: ↑28. Sep 2024, 10:46
Concerning flathub: my experience with this tool is bad.
I'd really like to know why.
Re: Permissions on /dev
Posted: 29. Sep 2024, 11:07
by Van_Vinkle
I'm afraid I cannot give you good information.
It was a time ago, when salix 15 was released and you announced that this tool (flathub) was available. I tried it two or three times and problems arose: it was not possible to install some programs. Sorry for not remmeber which ones.
From then, I use only slapt-get, gslapt, sbopkg and, when I cannot find the Slackware package, deb2tgz.
Re: Permissions on /dev
Posted: 30. Sep 2024, 20:10
by gapan
Could it have been a browser like chrome or brave? There used to be an issue with those, with our bwrap package having somewhat too strict security, but they should all be working fine now without the user having to do anything special.
There is a vast amount of software available through flathub and having immediate access to it is great. There have been only very few times where the flatpak default permissions were too restrictive and I had to adjust those with flatseal (also installed with flatpak), but that's about it.
In any case, I would really suggest you try flatpak again. If there are any issues, make a new post.
Re: Permissions on /dev
Posted: 3. Oct 2024, 15:18
by Van_Vinkle
Could it have been a browser like chrome or brave?
I don't recall the exact browser, but it might have been Chrome.
The issue isn't about acquiring more programs, as we can access almost all Linux software through package managers like gslapt, sbopkg, and occasionally the .deb repository.
Testing flatpak, I've installed a chess program, and all was fine.
The challenge lies in the unusual commands required to launch Flatpak. Using /usr/bin/program is indeed a matter of familiarity and convenience.
Re: Permissions on /dev
Posted: 3. Oct 2024, 17:35
by gapan
Yes, it's weird to start an app from a terminal. But the menu entry should work without problems. And if you find that you often need to launch an app from the terminal, you could always create an alias.