From owner-freebsd-current@FreeBSD.ORG Wed Dec 8 10:29:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD60F16A4CE; Wed, 8 Dec 2004 10:29:52 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3939A43D58; Wed, 8 Dec 2004 10:29:52 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iB8ATnt7021758; Wed, 8 Dec 2004 11:29:50 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Tim Robbins From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 08 Dec 2004 21:09:19 +1100." <20041208100919.GA18279@cat.robbins.dropbear.id.au> Date: Wed, 08 Dec 2004 11:29:49 +0100 Message-ID: <21757.1102501789@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: Marcel Moolenaar Subject: Re: msdosfs borked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 10:29:53 -0000 In message <20041208100919.GA18279@cat.robbins.dropbear.id.au>, Tim Robbins wri tes: >On Wed, Dec 08, 2004 at 09:48:11AM +0100, Poul-Henning Kamp wrote: >> In message <9EF07AD4-48D0-11D9-BD23-000D93C47836@xcllnt.net>, Marcel Moolenaar >> writes: >> >Permissions seems to have gone out to lunch... >> >> Hmm, do you know what kind of filesystem it is ? FAT12/FAT16/FAT32 ? > >This kind of thing is symptomatic of mount arguments not being passed >correctly and ending up as zero. I've seen it happen in the past when the >layout of struct msdosfs_args changed. yes indeed, (this is, btw, one of the things nmount hopefully will improve once we use it all the way from userland) Only trouble is I don't see the zero perms here... + ls -l /mnt + head -4 total 1347 -rwxr-xr-x 1 root wheel 6260 Sep 30 1993 ansi.sy_ -rwxr-xr-x 1 root wheel 7467 Sep 30 1993 append.ex_ -rwxr-xr-x 1 root wheel 11208 Sep 30 1993 attrib.exe -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.