bin/75930: Usermount changes owner of mount point to root:wheel
Ceri Davies
ceri at FreeBSD.org
Fri Jan 7 14:50:41 PST 2005
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
More information about the freebsd-bugs
mailing list