I can mount my pen drive on the host because this is my /etc/fstab:

/dev/sda1               /mnt/pendrive   auto            rw,user,noauto
         0 0

Please, post to the ML without changing post subject. In other words,
cancel "FWD:"
thanks.


2006/11/9, Christopher Marshall <[EMAIL PROTECTED]>:
> Flavio:
>
> --- Flavio <[EMAIL PROTECTED]> wrote:
>
> > Thank you Anthony, thank you Chris,
> >
> > Well.. Im'sorry. I don't know english very very well to understand all
> > correctly at the first time.
> >
> > So, here's my $ ls -lA /dev/sda :  I often mount my pen drive at
> > /dev/sda1 on the host system.
> >
> > # ls -lA /dev/sda
> > brw-rw---- 1 root disk 8, 0 Nov  9 10:32 /dev/sda
>
> You mean from the host, logged in as a normal non-root user, you have been 
> able to type:
>
>    mount /dev/sda1 /mnt/hd
>
> and it works?  I don't see how that is possible unless your mount executable 
> has been marked
> setuid root in whatever distribution you are running (which means any process 
> that executes the
> mount command is promoted to the root user by the kernel).
>
> I recommend you try the following experiment:  Run your uml instance from the 
> root account on the
> host.  That's the simplest way to side step all the permissions problems to 
> determine if this is a
> permissions problem or something else.  If you can then mount your pen drive 
> from within UML, you
> know its just a question of getting the permissions problems worked out.
>
> Chris Marshall
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to