Re: Wechseldatentraeger rwxrwxrwx mounten

From: Bernd Walter <ticso(at)>
Date: Thu, 10 Feb 2005 23:08:49 +0100

On Thu, Feb 10, 2005 at 10:09:22PM +0100, Heino Tiedemann wrote:
> Hallo,
> Ich würde gernen einen Wechseldatenträger (usb-Stick) so mounten, das
> er von allen Bentzern beschrieben werden kann. Der Datenträger hat ein
> FAT-Dateisystem (das kennt eh keine rechte, oder Dateibenutzer).
> mount_msdosfs /dev/da1s1 /mnt/ macht es nur für Root beschreibbar.
> mount_msdosfs -u rotkap /dev/da1s1 /mnt/ macht es nur für einen
> Benutzer beschreibbar.
> Unter Linux gibts es die Option
> mount -o umask=000....
> Wie macht man sowas unter FreeBSD 5.3-STABLE? Das moujnt dort kannt
> diese option - laut manpage - nicht.

Lese die Manpage doch einfach mal komplett:
     -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 value of -M is used if
             it is supplied and -m is omitted. The default mask is taken from
             the directory on which the file system is being mounted.

     -M mask
             Specify the maximum file permissions for directories in the file
             system. The value of -m is used if it is supplied and -M is
             omitted. See the previous option's description for details.

B.Walter                   BWCT      
bernd(at)                                  info(at)
To Unsubscribe: send mail to majordomo(at)
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 10 Feb 2005 - 23:11:16 CET

search this site