You are not logged in.
Pages: 1
$ fuse2fs /dev/mapper/rexq-forth /home/bari/HWD/mounts/data/
/dev/mapper/rexq-forth: Permission denied.
Please run e2fsck -fy /dev/mapper/rexq-forth.
$ fuse2fs -o fakeroot /dev/mapper/rexq-forth /home/bari/HWD/mounts/data/
/dev/mapper/rexq-forth: Permission denied.
Please run e2fsck -fy /dev/mapper/rexq-forth.
Note : The fs is mountable using mount as root.
This is what I got when trying to mount the said,
fs using fuse as a non-root user.
I don't understand what to do to get this to work.
Any help is appreciated.
I tried to read the manpage.
But it has no such information.
Also not much is available through web search.
But if you have any solution please let me know.
I am not sure I have posted on the right forum.
But this topic did not match any other forum imo.
Offline
fuse2fs need access to /dev/mapper/rexq-forth. What permissions are for it?
# stat /dev/mapper/rexq-forth
I suppose your user has no permissions to access block device.
Offline
$ stat /dev/mapper/rexq-forth
File: /dev/mapper/rexq-forth -> ../dm-3
Size: 7 Blocks: 0 IO Block: 4096 symbolic link
Device: 0,5 Inode: 993 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-10-08 15:42:39.215956924 +0600
Modify: 2022-10-08 15:42:33.855893489 +0600
Change: 2022-10-08 15:42:33.855893489 +0600
Birth: -
I think it has all the permissions.
Offline
It is symbolic link.
# stat -L /dev/mapper/rexq-forth
or
# stat /dev/dm-3
By default users have no access to block devices.
Offline
$ stat /dev/dm-3
File: /dev/dm-3
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: 0,5 Inode: 367 Links: 1 Device type: 254,3
Access: (0660/brw-rw----) Uid: ( 0/ root) Gid: ( 995/ disk)
Access: 2022-10-08 15:42:33.865893606 +0600
Modify: 2022-10-08 15:42:33.855893489 +0600
Change: 2022-10-08 15:42:33.855893489 +0600
Birth: -
Okay. What is the right course of action?
Are changes to those file permissions persistent?
Last edited by Adcock (2022-10-08 12:54:31)
Offline
Are changes to those file permissions persistent?
No, they aren't. You can setup udev to configure permissions persistently: https://wiki.archlinux.org/title/udev#A … se_devices
Offline
Pages: 1