From adrian@mail.ubergeeks.com Mon Jan 21 18:31:11 2002 Return-Path: Received: from mail.ubergeeks.com (lorax.ubergeeks.com [209.145.65.55]) by hub.freebsd.org (Postfix) with ESMTP id 513F037B404 for ; Mon, 21 Jan 2002 18:31:10 -0800 (PST) Received: (from adrian@localhost) by mail.ubergeeks.com (8.11.6/8.11.6) id g0M2V7L01971; Mon, 21 Jan 2002 21:31:07 -0500 (EST) (envelope-from adrian) Message-Id: <200201220231.g0M2V7L01971@mail.ubergeeks.com> Date: Mon, 21 Jan 2002 21:31:07 -0500 (EST) From: Adrian Filipi-Martin Reply-To: Adrian Filipi-Martin To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: newfs defaults and vfs.usermount=1 tug at one another X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 34146 >Category: bin >Synopsis: [request] newfs(8) defaults and vfs.usermount=1 tug at one another >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 21 18:40:01 PST 2002 >Closed-Date: Mon Sep 13 14:56:24 UTC 2010 >Last-Modified: Mon Sep 13 14:56:24 UTC 2010 >Originator: Adrian Filipi-Martin >Release: FreeBSD 4.5-RC i386 >Organization: Ubergeeks Consulting >Environment: System: FreeBSD lorax.ubergeeks.com 4.5-RC FreeBSD 4.5-RC #21: Mon Jan 21 00:19:13 EST 2002 root@lorax.ubergeeks.com:/usr/obj/usr/src/sys/LORAX i386 >Description: Please see the closed PR bin/16422. I submitted a follow up, but that was not enough to reopen the PR for reconsideration. Sorry, but there seems to be no better way to get a PR reopened. >How-To-Repeat: >Fix: Please see the second patch for PR bin/16422. >Release-Note: >Audit-Trail: From: "Crist J . Clark" To: Adrian Filipi-Martin 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 00:15:19 -0800 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 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 ] State-Changed-From-To: open->closed State-Changed-By: arundel State-Changed-When: Mon Sep 13 14:55:02 UTC 2010 State-Changed-Why: Please note that per your request 16422 has been opened again. I'm closing this PR, since it's a duplicate of 16422. http://www.freebsd.org/cgi/query-pr.cgi?pr=34146 >Unformatted: