From owner-freebsd-questions Fri Oct 25 15:30:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BEEE37B401 for ; Fri, 25 Oct 2002 15:30:53 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 990CA43E6A for ; Fri, 25 Oct 2002 15:30:52 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id g9PMUpr1053420; Fri, 25 Oct 2002 17:30:51 -0500 (CDT) (envelope-from dan) Date: Fri, 25 Oct 2002 17:30:51 -0500 From: Dan Nelson To: David Gerard Cc: questions@FreeBSD.ORG Subject: Re: How to chmod on FAT32 partition? Message-ID: <20021025223051.GC51818@dan.emsphone.com> References: <20021025222344.GH32176@thingy.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021025222344.GH32176@thingy.apana.org.au> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Oct 26), David Gerard said: > OK, got disk up. (Problem was I didn't know its make. ad3s1 eventually > worked.) > > Now it seems I can't make it writable by anyone but root: > > diva# ls -l viv.html > -rwxr-xr-x 1 root wheel 1987 Jul 4 05:21 viv.html > diva# chmod g+w viv.html > diva# ls -l viv.html > -rwxr-xr-x 1 root wheel 1987 Jul 4 05:21 viv.html > diva# chmod a+w viv.html > diva# ls -l viv.html > -rwxr-xr-x 1 root wheel 1987 Jul 4 05:21 viv.html > > Same for any files. Is this some sort of FAT32 limitation? Is this > documented anywhere? FAT32 has no concept of file ownerships or permissions. All files by default inherit the attributes of the directory the filesystem was mounted on. You can override this by mounting with -u, -g and -m options. See the mount_msdos manpage for more info. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message