I believe if you own fuse node or have write access to it, the command will succeed.
If you did so, /dev/fuse would be owned by this very user all the time. dsbmd just changes the ownership for a 10th of a second. As soon as the mount command returned, the ownership is restored.Probably, this is user responsibility. We can set nesessary rights in /etc/devfs.rules.
I agree, but where do you exactly see the problem with the current approach?dsbmd is not the only consumer of fuse, gvfs uses it too. Proper access to dev nodes is a part of setting up a workstation/server.
dsbmd of course restores the rights set in /etc/devfs.rules regarding /dev/fuse.We use devfs rules for our scanner (usb), for libinput, for nut and so on. Attempt to do all of this automagically is pandora box. IMHO.
QSystemTrayIcon::setVisible: No Icon set
Fatal error: uconnect(/var/run/dsbmd.socket): Error: connect(/var/run/dsbmd.socket): Connection refused
dsbmc-cli: Error: dsbmc_mount(/dev/ada0p1): Error: read_event(): Lost connection to DSBM
After the last update the GUI version of sysutils/dsbmc doesn't set the window class, it's not floating and give the following message:
and the error messages:Code:QSystemTrayIcon::setVisible: No Icon set
I've restarted the daemon but it give the same error.Code:Fatal error: uconnect(/var/run/dsbmd.socket): Error: connect(/var/run/dsbmd.socket): Connection refused
The terminal version sysutils/dsbmc-cli is not working either:
Code:dsbmc-cli: Error: dsbmc_mount(/dev/ada0p1): Error: read_event(): Lost connection to DSBM
dsbmd -f
and post the output?For some reason dsbmd can't create a directory under /media due to a permission error. Did you set the immutable flag on /media?
Could please post the output of
ls -lo / | grep media
andstat /media
?
ls -lo / | grep media
drwxr-xr-x 3 root 512 Jan 9 09:35 media
stat /media
18446744072887533316 1 drwxr-xr-x 3 root wheel 0 512 "Jan 9 09:35:56 2020" "Jan 9 09:35:56 2020" "Jan 9 09:35:56 2020" "Jan 9 09:35:56 2020" 4096 1 0 /media
That's odd. The changes in 1.10 can't explain the problem you have. Is there some other filesystem mounted on /media (I did not mess with the writing/reading permissions of that directory, just update the port on 2 jan
mount | grep /media
)? can you create a directory (as root) under /media?DSBMC was rewritten using Qt5, and there is no way to set the WM_CLASS via the API, afaik. I will add a workaround to support float.I see that dsbmc window can't float like always do when i3 starts and it was stop working properly.
Could please post the output ofIt does not permit me to create a directory in /media. The only filesystem mounted on /media it's the efi partition but that was also mounted before.
mount | grep /media
? And just to make sure:# umount /media
# chflags noschg /media
mount | grep /media
does not show anything but after I change flags it lets me can create directories in /media.If you start dsbmc asThe only problem for dsbmc it's WM_CLASS implementation for qt5, but I can live with the window without floating or I just use dsbmc-cli.
dsbmc -- "DSBMC"
, WM_CLASS will be set.Still not working but it's OK,If you start dsbmc asdsbmc -- "DSBMC"
, WM_CLASS will be set.
dsbmc-cli
does a good job.