Flavio: If you run uml from the root account, or if you chmod a+rw /dev/sda*, can you access the usb drive from within a uml instance?
If you can do that, your other problems are simple to solve. So, can you access the usb drive from within the uml instance? Chris Marshall --- Flavio <[EMAIL PROTECTED]> wrote: > Ok, I tried to change permission level to 666 for /dev/sda and /dev/sda1, but > I can't mount (on my host system) my pen-drive unless I leave the > "user" word in the /etc/fstab file. > To make this mount attempt I modified my fstab as below (as regard /dev/sda1): > > /dev/sda1 /mnt/pendrive auto rw,noauto > 0 0 > > I also added my user to disk group. I should be "mountable" because > # ls -l /dev/sda* > brw-rw-rw- 1 root disk 8, 0 Nov 10 00:42 /dev/sda > brw-rw-rw- 1 root disk 8, 1 Nov 10 00:42 /dev/sda1 > > As you see permission level is set to 666. My user belongs to disk group. > It maight be that disk group is useful to do something else... I don't > know to do what. > > Now, I restored either /etc/fstab either permission level to 600 for > /dev/sda*. > > It seems both my ideas don't work. > > Flavio. > > 2006/11/10, Brock, Anthony - NET <[EMAIL PROTECTED]>: > > > -----Original Message----- > > > 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. > > > > This depends on how and why you are using UML. In general, I run > > multiple servers on a single host that should NEVER have access to each > > other's drives. In light of this, I change the user ownership to the > > individual account that each guest instance runs under. > > > > However, your case may be different. If you are only running a single > > guest or if you don't care that a compromised guest might be able to > > read the confidential files of another virtual server (or possibly the > > host), then your solution should work. Does either of your suggestions > > solve you problem? > > > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
