Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 1996 13:27:25 +0200 (SAT)
From:      Robert Nordier <rnordier@iafrica.com>
To:        martin@cimio.co.uk (Martin Miles)
Cc:        questions@freebsd.org, rnordier@mail.saix.net
Subject:   Re: Dos partitions
Message-ID:  <199605221127.NAA01801@eac.iafrica.com>
In-Reply-To: <9605220828.AA23584@cimio.co.uk> from "Martin Miles" at May 22, 96 09:28:20 am

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Miles wrote:
  
> How do I change the ownership and/or the permissions of a DOS partition
> which is mounted under Free BSD ?

You can specify these when mounting the partition with mount_msdos(8):

   mount_msdos [-u uid] [-g gid] [-m mask] special node

If you have in mind changing these while the partition is mounted:
chown(8) has a limited effect (on the DOS 'read-only' flag) at a
file level

   chmod 777 /dos/config.sys

   -rwxr-xr-x  1 root  wheel    338 May 14 06:51 config.sys

   chmod 000 /dos/config.sys

   -r-xr-xr-x  1 root  wheel    338 May 14 06:51 config.sys

-- 
Robert Nordier



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