[opensuse] [RESOLVED] oS 13.2: losetup not working - permission denied?
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
On Wed, Dec 03, 2014 at 07:49:01PM -0500, Greg Freemyer wrote:
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.
WHAT? How the hell is that possible? I'm ROOT I'm KING -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On December 3, 2014 9:54:20 PM EST, Ruben Safir
On Wed, Dec 03, 2014 at 07:49:01PM -0500, Greg Freemyer wrote:
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.
WHAT? How the hell is that possible?
I'm ROOT I'm KING
A physiologist has been treating root for narcissism. He now realizes he's not king. -- 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
On 12/03/2014 10:39 PM, Greg Freemyer wrote:
On December 3, 2014 9:54:20 PM EST, Ruben Safir
wrote:
I'm ROOT I'm KING
A physiologist has been treating root for narcissism. He now realizes he's not king.
A physiologist? Surely you mean a Chiropractor? -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On December 3, 2014 10:46:59 PM EST, Anton Aylward
On 12/03/2014 10:39 PM, Greg Freemyer wrote:
On December 3, 2014 9:54:20 PM EST, Ruben Safir
wrote:
I'm ROOT I'm KING
A physiologist has been treating root for narcissism. He now realizes he's not king.
A physiologist? Surely you mean a Chiropractor?
damn auto-correct. I meant psychologist. Joke destroyed. -- 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
On 12/04/2014 06:05 AM, Greg Freemyer wrote:
damn auto-correct. I meant psychologist. Joke destroyed. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity
Not only that, but Thunderbird autocorrect and the autocorrect in android mailers behave differently. Then there's 'capitalization' riles. Try saying DHCP and PC in the same sentence, then in different sentences. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Anton Aylward
-
Greg Freemyer
-
Ruben Safir