[ug-bosug] how to mount a .iso using lofiadm without superuser/root permission?
Manish Chakravarty
manishchaks at gmail.com
Sat Feb 2 00:20:17 PST 2008
To fix/further my question:
acc to the lofiadm(1) man page
QUOTE
The abilities of lofiadm, and who can use them, are con-
trolled by the permissions of /dev/lofictl. Read-access
allows query operations, such as listing all the associa-
tions. Write-access is required to do any state-changing
operations, like adding an association. As shipped,
/dev/lofictl is owned by root, in group sys, and mode 0644,
so all users can do query operations but only root can
change anything. The administrator can give users write-
access, allowing them to add or delete associations, but
that is very likely a security hole and should probably only
be given to a trusted group.
UNQUOTE
So, to modify my question: is there any way for a non-root user to mount an
iso image?
Both the iso and the mountpoint is in the concerned user's home directory.
On Feb 2, 2008 1:38 PM, Manish Chakravarty <manishchaks at gmail.com> wrote:
> Hi All,
>
> Is it possible to mount a .iso image using lofiadm without having
> superuser rights on a Nevada box?
>
>
> Here's a trace:
> -bash-3.2$ /usr/sbin/mount -F hsfs `/usr/sbin/lofiadm -a
> /export/home/manish/workdir/nexenta-core-platform_1.0RC3-b80_x86.iso`
> /export/home/manish/workdir/nexentamnt/
> lofiadm: you do not have permission to perform that operation.
> mount: Mount point cannot be determined
>
> This on a Nevada b81 box
>
> --
> Manish Chakravarty
> http://manish-chaks.livejournal.com/
>
--
Manish Chakravarty
http://manish-chaks.livejournal.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080202/5370298f/attachment-0001.html
More information about the ug-bosug
mailing list