bin/75930: Usermount changes owner of mount point to root:wheel
Frank J. Beckmann
frank at barda.agala.net
Fri Jan 7 13:00:46 PST 2005
>Number: 75930
>Category: bin
>Synopsis: Usermount changes owner of mount point to root:wheel
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 07 21:00:44 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Frank J. Beckmann <frank at barda.agala.net>
>Release: FreeBSD 5.3-STABLE i386
>Organization:
Agala Naga Doron
>Environment:
System: FreeBSD kairo.agala.net 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Dec 8 19:21:37 CET 2004 root at kairo.agala.net:/usr/obj/usr/src/sys/KAIRO i386
>Description:
When a non root user mounts a filesytem, the filesystem becomes
owned be root:wheel. That ist anoying because the user can not
create objects in the root of the newly mounted media (removable
disks etc).
>How-To-Repeat:
Allow non root users to mount filesystems (sysctl vfs.usermount=1).
As an non root user create a directory in your home directory. Now
mount a filesystem (e.g. CD-ROM or a removable disk) to that newly
createt directory. That directory is now owned by root:wheel until
you unmount the filesystem.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list