You are not logged in.

#1 2005-07-07 16:13:05

shaurz
Member
From: Leeds, UK
Registered: 2004-02-02
Posts: 343
Website

[SOLVED] loopback device not working

Maybe I should be less -Syu happy. A recent update has taken out loopback device. Well, it works for root but not for regular users anymore (with a user mount entry in fstab). I get:

mount: no permission to look at /dev/loop#

So I have tried to give read/write to users:

# disk devices
hd*:root:disk:660
sd*:root:disk:660
dasd*:root:disk:660
ataraid*:root:disk:660
loop*:root:disk:666
md*:root:disk:660
ide/*/*/*/*/*:root:disk:660
discs/*/*:root:disk:660
loop/*:root:disk:666
md/*:root:disk:660

However:

$ ls /dev/loop -l
total 0
brw-rw----  1 root disk 7, 0 2005-07-07 16:03 0
brw-rw----  1 root disk 7, 1 2005-07-07 16:03 1
brw-rw----  1 root disk 7, 2 2005-07-07 16:03 2
brw-rw----  1 root disk 7, 3 2005-07-07 16:03 3
brw-rw----  1 root disk 7, 4 2005-07-07 16:03 4
brw-rw----  1 root disk 7, 5 2005-07-07 16:03 5
brw-rw----  1 root disk 7, 6 2005-07-07 16:03 6
brw-rw----  1 root disk 7, 7 2005-07-07 16:03 7

I don't think this is the right approach somehow, I'm missing something...

Offline

#2 2005-07-08 21:11:24

shaurz
Member
From: Leeds, UK
Registered: 2004-02-02
Posts: 343
Website

Re: [SOLVED] loopback device not working

I just realised /etc/udev/permissions.d/udev.permissions isn't used anymore! I now have the correct permissions set up in udev.rules, but I now have another, different error:

memlock: Cannot allocate memory
Couldn't lock into memory, exiting.

Offline

#3 2005-07-08 23:50:15

shaurz
Member
From: Leeds, UK
Registered: 2004-02-02
Posts: 343
Website

Re: [SOLVED] loopback device not working

Ahh sorted it. I'd messed up the setuid bit on /bin/mount.

Offline

Board footer

Powered by FluxBB