Mount a cd image as a user
Sorry if this has been answered before somewhere else but all I have been able to find is how to add things to fstab.
Is there a way to allow a user to use the mount command without adding a specific entry to the fstab -or- Is there sompthing I can add to allow a user to mount anything to a specific point such as a private folder in their home directory I am currently using slackware 13.1 |
To mount a cd-image,.. you would:
Code:
mkdir /mnt/cdrom |
@szboardstretcher: Those commands will not let a normal user mount a loopback image. I'm pretty sure that you would have to edit /etc/sudoers for mounting images on loopback.
|
you need to use sudo for these two commands to work if you are not root
Code:
sudo mkdir -p /mnt/cdrom |
If I remember well I have configured this in the past adding the user to the disk group (yes, sometimes I'm just rude :D )
Code:
$ ls -la /dev/loop* here you can find a pair of good advices ;) |
Quote:
|
Yes, there is, but there are good reasons for fstab, it keeps it short & safe, of course if you want to mount anything anywhere, I would suggest editing sudoers, using visudo.
Code:
$ visudo Code:
{username} ALL = NOPASSWD: /sbin/mount, /sbin/umount Code:
sudo mount ...{anything}...{anywhere} |
Quote:
|
a little less elegant, but you could try fuseiso.
http://slackbuilds.org/repository/13.1/system/fuseiso/ |
You could also use archivemount.
|
I use Isomaster
http://www.littlesvr.ca/isomaster/ get it from slackbuilds or sbopkg http://slackbuilds.org/repository/13...tem/isomaster/ |
mountlo should work. I tried it a few weeks ago.
|
I use pmount to mount as a normal user. There is even a Slackbuild for it.
|
Quote:
cheers, |
Quote:
|
All times are GMT -5. The time now is 12:35 PM. |