From owner-freebsd-questions Tue Nov 6 15:20:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id A71F937B416 for ; Tue, 6 Nov 2001 15:20:22 -0800 (PST) Received: from dialup-209.245.132.32.dial1.sanjose1.level3.net ([209.245.132.32] helo=blossom.cjclark.org) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 161FVs-0000cQ-00; Tue, 06 Nov 2001 15:20:14 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fA6NJaE02598; Tue, 6 Nov 2001 15:19:36 -0800 (PST) (envelope-from cjc) Date: Tue, 6 Nov 2001 15:19:36 -0800 From: "Crist J. Clark" To: freebsd-questions@freebsd.org Cc: Andreas Ntaflos Subject: Re: ls on mounted disks shows Jan 1 1980 as modification time? Message-ID: <20011106151936.E386@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011105223607.B31920@Deadcell.ANT> <20011105171400.E745@blossom.cjclark.org> <20011106234851.A1699@Deadcell.ANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011106234851.A1699@Deadcell.ANT>; from ntaflos.andreas@gmx.net on Tue, Nov 06, 2001 at 11:48:52PM +0100 X-URL: http://people.freebsd.org/~cjc/ 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 On Tue, Nov 06, 2001 at 11:48:52PM +0100, Andreas Ntaflos wrote: > On Mon, Nov 05, 2001 at 05:14:00PM -0800, Crist J. Clark wrote: > > > MSDOS FAT filesystems do not have owners or permissions to set. > > Thanks, that explains a lot. I wonder however if there is a way to > set permissions on the directory the MSDOS fs is mounted on in order > for regular users to be able to read/write it? RTFM, mount_msdos(8), -u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted. -g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted. -m mask Specify the maximum file permissions for files in the file sys- tem. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the directory on which the file system is being mounted. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message