[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kann keine Remote-Images mounten



Hi, ich mounte eine cifs-Freigabe (samba) nach /mnt/remote/images, darin liegen
dann Images von Disketten und CDROMs. Leider kann ich keines davon via
/dev/loop mounten, ich bekomme immer "Permission denied". Unter Windows geht es
problemlos...
Was muß ich wie machen damit es funktioniert?

Als root:
=========

gigabyte:/mnt/remote# ll /mnt/remote/images/DISK.Win98.img
-rw-r-----  1 administrator administrator 1474560 May  2  2004
/mnt/remote/images/DISK.Win98.img

gigabyte:/tmp# mount -t vfat -o loop /mnt/remote/images/DISK.Win98.img
/mnt/remote/loop/ -v
mount: going to use the loop device /dev/loop1
/mnt/remote/images/DISK.Win98.img: Permission denied
mount: failed setting up loop device


Kopiere ich sie vorher lokal ins tmp, dann geht es:
gigabyte:/tmp# mount -t vfat -o loop /tmp/DISK.Win98.img /mnt/remote/loop/


[...]
stat64("/dev/loop0", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 0), ...}) = 0
open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, 0x4c03, 0xbffff740)            = 0
close(3)                                = 0
stat64("/dev/loop1", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 1), ...}) = 0
open("/dev/loop1", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, 0x4c03, 0xbffff740)            = -1 ENXIO (No such device or address)
close(3)                                = 0
open("/proc/crypto/cipher", O_RDONLY|O_LARGEFILE) = -1 ENOTDIR (Not a directory)
open("/mnt/remote/images/DISK.Win98.img", O_RDWR|O_LARGEFILE) = -1 EACCES
(Permission denied)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7cfe000
_llseek(3, 0, 0xbffff328, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "/mnt/remote/images/DISK.Win98."...,
66/mnt/remote/images/DISK.Win98.img: Permission denied
) = 66
close(3)                                = 0
munmap(0xb7cfe000, 4096)                = 0
exit_group(32)


--
Mit freundlichen Gruessen
Bjoern Schmidt





Reply to: