Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 07:30:02 -0800 (PST)
From:      Adrian Filipi-Martin <adrian@ubergeeks.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/34146: newfs defaults and vfs.usermount=1 tug at one another
Message-ID:  <200201221530.g0MFU2O16301@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/34146; it has been noted by GNATS.

From: Adrian Filipi-Martin <adrian@ubergeeks.com>
To: "Crist J . Clark" <cjc@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/34146: newfs defaults and vfs.usermount=1 tug at one another
Date: Tue, 22 Jan 2002 10:25:30 -0500 (EST)

 On Tue, 22 Jan 2002, Crist J . Clark wrote:
 
 > You can change the owner and group of your newfs(8)ed filesystem using
 > fsdb(8) before it is mounted.
 > --
 > Crist J. Clark                     |     cjclark@alum.mit.edu
 >                                    |     cjclark@jhu.edu
 > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
 
 	Yikes!  Can we really expect mere mortal users to use fsdb?  I've
 only used it when relinking files held open by suspicious processes.
 
 	I'm looking to get the use of ufs floppies as simple as using msdos
 ones.  With msdos media it is no problem to mount a floppy that you just
 formatted as a normal user and write to it.  However, I do find the notion
 that the user who mounts the floppy automatically owns it a little
 distasteful, so I don't think it should be solved by mount changing the
 effective owner of the media as mount_msdos does.
 
 	I doubt that my patch creates any problems.  It applies only to
 that media was formatted by a non-root user.  Root would need to reformat
 it as root before it could trust the fs.  I did not change the behavior of
 newfs for root.  I only made newfs less of a pain for non-root users.
 
 	If you haven't used user-mounts, I suggest trying it out before
 deciding on this patch.  It is very useful in a desktop environment.
 
 	Adrian
 --
 [ adrian@ubergeeks.com ]
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201221530.g0MFU2O16301>