Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 14:34:41 +0000
From:      simond@irrelevant.org
To:        degraz@sbohm.yi.org
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Cannot CHMOD or CHOWN on Fat partition?
Message-ID:  <20001031143440.B62233@irrelevant.org>
In-Reply-To: <MDAEMON10001200010311133.AA3354062@sbohm.yi.org>; from degraz@sbohm.yi.org on Tue, Oct 31, 2000 at 11:33:54AM -0500
References:  <MDAEMON10001200010311133.AA3354062@sbohm.yi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 31, 2000 at 11:33:54AM -0500, degraz@sbohm.yi.org wrote:
> I have a second hard drive in my FreeBSD box, running release 4.1.1.  
> I have added the drive to /etc/fstab with the following line:
> 
> /dev/ad3s1 /server_root msdos rw 1 1
> 
> I have also tried 0 0, and 2 2 for the Dump and Pass#.  I'll admit I have no real basis for this, other than the fact that the other partitions used 2 2, except root..
> 
> The partition mounts fine, I can read and write from root, but I absolutely cannot change the file permissions or own of any of the files.  I have tried chmod from root, repeated, and get nothing.  Is is not possible to change the permissions of a drive
> that is FAT/FAT32?

No, as FAT doesn't support owners, etc. The way to do it is to chown the
mount point (when it's not mounted obviously) then all files under there
inherit that owner.

-- 
Simon Dick					simond@irrelevant.org


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?20001031143440.B62233>