From owner-freebsd-bugs Tue Jan 22 7:30:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D38437B400 for ; Tue, 22 Jan 2002 07:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0MFU2O16301; Tue, 22 Jan 2002 07:30:02 -0800 (PST) (envelope-from gnats) Date: Tue, 22 Jan 2002 07:30:02 -0800 (PST) Message-Id: <200201221530.g0MFU2O16301@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Adrian Filipi-Martin Subject: Re: bin/34146: newfs defaults and vfs.usermount=1 tug at one another Reply-To: Adrian Filipi-Martin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/34146; it has been noted by GNATS. From: Adrian Filipi-Martin To: "Crist J . Clark" 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