Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 17:30:51 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        David Gerard <fun@thingy.apana.org.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: How to chmod on FAT32 partition?
Message-ID:  <20021025223051.GC51818@dan.emsphone.com>
In-Reply-To: <20021025222344.GH32176@thingy.apana.org.au>
References:  <20021025222344.GH32176@thingy.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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