Is it possible for a user without root access to mount an arbitrary iso? If so how?
Asked
Active
Viewed 7,595 times
2 Answers
24
-
Also noteworthy is the kde-service-menu-fuseiso to mount them in KDE apps, like Dolphin. – gertvdijk Dec 21 '12 at 21:07
1
The easiest way is probably with sudo. Let's assume that you want everybody in the cdrom group able to mount and unmount ISO images. Make the following addition to the sudoers file using visudo:
cdrom ALL = /bin/mount -o loop -t iso9660 *.iso /media/*
cdrom ALL = /bin/umount /media/*
This should allow anybody in the cdrom group to mount a file ending in .iso as type iso9660 on a directory inside the /media folder and also unmount anything in the /media folder.
Cry Havok
- 2,048
-
2
-
1
-
-
2Can be exploited, for example you could unmount arbitrary filesystems using
umount /media/... – Chris Down Dec 21 '12 at 21:10