Thank you.
I don't want to definitely change ownership of /dev/sda1, because if I
want to log in as another user (even though I wrote a specific line
into /etc/fstab to grant all users to get access on their pen-drive by
/dev/sda1) I see /dev/sda1 belongs to another user. As an alternative
do you think I can change permissions to that device (e.g. chmod 777
/dev/sda1 && chmod 777 /dev/sda) ??
It maight be there's no other way to solve my problem. In this case I
opt for your tip.

If you agree with me, the other thing I can try, is to add every user
who needs to be able to read and write on a pen drive accessible by
/dev/sda1 to disk group. I don't know if it will works, but it's only
my idea.

Thanks a lot,

Flavio

2006/11/9, Brock, Anthony - NET <[EMAIL PROTECTED]>:
> > -----Original Message-----
> > 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
>
> Ah, you have a permissions problem. Change the ownership of the device
> to the account you're running the UML under. This will allow the UML
> unrestricted, direct access to the device. However, be sure you insert
> and can interact with the device BEFORE you change the ownership. I've
> had problems with utilities automatically adjusting ownership when
> hardware changes.
>
> For example, assuming you use the account 'myuml', something like:
>
> # chown myuml:disk /dev/sda
>
> Tony
>

-------------------------------------------------------------------------
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