I On December 4, 2014 8:19:44 PM EST, Linda Walsh <suse@tlinx.org> wrote:
Greg Freemyer wrote:
On Wed, Dec 3, 2014 at 4:36 PM, Greg Freemyer <greg.freemyer@gmail.com> 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
a guess: maybe you need losetup -r because the file is read-only even to root?
if that doesn't help... strace and/or ltrace and find the call that is failing...?
Day late and a dollar short. By default a filesystem created by a normal user has zero access by root, not even read only. You have to first create a /etc/fuse.conf and set a config option then pass an extra arg to fusemount to give root access. I find it against the Linux tradition, but it is what it is. Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org