The issue is that I was running the fuse mount command as a normal
user and mount as root.
By default fuse does NOT allow root to access filesystems it creates
unless root created them.
For me there are 2 work-arounds:
- Add sudo in front of my command creating the filesytem
- Set an option in /etc/fuse.conf to allow none-owners of a filesystem
to use the filesystem.
Greg
On Wed, Dec 3, 2014 at 6:58 PM, Greg Freemyer
On Wed, Dec 3, 2014 at 4:36 PM, Greg Freemyer
wrote: I know I've used loopback mounts on openSUSE before, but today they aren't working for me.
As an example:
=== + ls -l /mnt-ewf/ewf1 -r--r--r-- 1 root root 1000555581440 Dec 3 16:33 /mnt-ewf/ewf1 + sudo /usr/sbin/losetup /dev/loop0 /mnt-ewf/ewf1 -o 209735680 root's password: losetup: /mnt-ewf/ewf1: failed to set up loop device: Permission denied ===
I have the loop module loaded:
sudo /sbin/lsmod | grep loop loop 28312 0
I tried "modprobe loop" just in case, but it doesn't help.
What am I forgetting?
Thanks Greg -- Greg Freemyer
This just gets stranger.
I've found that if use a true file to loopback mount from, then all is good.
Instead I'm using a virtual block device to mount. In past versions of openSUSE I could do that and it worked fine.
[to be more explicit I'm using ewfmount to leverage the fuse kernel subsystem to create a single non-segmented, non-compressed dd image from a segmented / compressed image. I've done this many times before but with 13.1 and older.]
With opensuse 13.2, it is failing. I'm wondering if something in the kernel changed.
I have no idea how to troubleshoot this.
Thoughts?
Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org