Date: Tue, 6 Nov 2001 15:19:36 -0800 From: "Crist J. Clark" <cristjc@earthlink.net> To: freebsd-questions@freebsd.org Cc: Andreas Ntaflos <ntaflos.andreas@gmx.net> Subject: Re: ls on mounted disks shows Jan 1 1980 as modification time? Message-ID: <20011106151936.E386@blossom.cjclark.org> In-Reply-To: <20011106234851.A1699@Deadcell.ANT>; from ntaflos.andreas@gmx.net on Tue, Nov 06, 2001 at 11:48:52PM %2B0100 References: <20011105223607.B31920@Deadcell.ANT> <20011105171400.E745@blossom.cjclark.org> <20011106234851.A1699@Deadcell.ANT>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106151936.E386>
