On Sunday 03 April 2005 13:48, Jan Rychter wrote: > I used UML successfully in the past and recently I've tried to revive my > UML installation. Unfortunately, I've run into a range of problems > (updates required for newer host kernels, non-working hostfs, etc).
> I am now at a stage where I have linux-2.4.27 patched with > uml-2.4.27-bs2-pre7.patch and a host 2.6.10 patched with skas3-v8-rc5. > > The issue I have is that hostfs doesn't work they way I want it to. What > I get is all hostfs files owned by root:root. > The semantics I'd like to see are: > > -- uid:gid mapping of 1:1 between the host and uml, > -- normal permission checks done on the host for requests done by uml. This is the normal situation, but there are some rare exception (i.e. when you boot from hostfs as rootfs, instead of using one UBD). So, please describe exactly your setup (UML command line and boot messages, mount command, and so on). Are you using hostfs as your rootfs? From what you say it seems not, but the behaviour you see has been explicitly coded for that case. > So, I'd like to have my home directory mounted from the host in the uml > via hostfs and be able to access it running my own uml. I shouldn't be > able to access any other user's files. Reasonable, I guess? > How do I achieve that? Any help appreciated. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user