Date: Fri, 7 Jan 2005 22:50:41 GMT From: Ceri Davies <ceri@FreeBSD.org> To: frank@barda.agala.net, ceri@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/75930: Usermount changes owner of mount point to root:wheel Message-ID: <200501072250.j07MofZV007373@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Usermount changes owner of mount point to root:wheel State-Changed-From-To: open->closed State-Changed-By: ceri State-Changed-When: Fri Jan 7 22:49:06 GMT 2005 State-Changed-Why: This is because root owns the root directory of the mounted filesystem. I'm afraid the changes would need to be made on the filesystems being mounted. Gregory Bond explained this quite nicely in http://www.freebsd.org/cgi/query-pr.cgi?pr=73146: The FreeBSD man page for mount(2) hides this a bit with some flowery language ("swept under the carpet"), but consider the wording from Solaris 2.8 man page: DESCRIPTION The mount() function requests that a removable file system contained on the block special file identified by spec be mounted on the directory identified by dir. The spec and dir arguments are pointers to path names. After a successful call to mount(), all references to the file dir refer to the root directory on the mounted file system. In other words, this beahviour[sic] is as designed. http://www.freebsd.org/cgi/query-pr.cgi?pr=75930
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501072250.j07MofZV007373>