On Fri, 23 Jul 1999, Kris Kennaway wrote:

> On Thu, 22 Jul 1999, Ronald G. Minnich wrote:
> > Are you saying that as an ordinary user I can mount something on top of
> > /tmp, for example?
> If the vfs.usermount sysctl is 1, and you have appropriate access to the
> thing you're trying to mount (block device, etc).

OK, so let's say it is 1. Let's say I have "appropriate access" to /tmp. I
mount my own fs on /tmp. I now have read/write access to everything anyone
writes to /tmp. 

Or, let's say I don't have "appropriate access" to /tmp. Pick some other
place. I mount my file system there for my files. Now everyone who wants
can look for these user mounts and walk them at will. My private stuff is
quite public. 

User mounts are neat. But user mounts that modify the global name space of
the machine are not neat. User mounts should be part of a private name
space.

But thanks for the note. I just now realized that if I add a private name
space to v9fs (which is easy), and then turn on user mounts, user
processes can have private name spaces on freebsd!

thanks 
ron




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to