Re: Schreibrecht auf Partition

From: Oliver Fromme <olli(at)secnetix.de>
Date: Sun, 29 Sep 2002 13:48:23 +0200 (CEST)

Stefan Jahn <stefan.jahn(at)nemesis-sektor.de> wrote:
> Root kann auf /mnt/austausch schreiben. Ein normaler User aber nicht. Wie muss
> ich meine Einträge in der /etc/fstab anpassen das jeder User auf dieser
> Partition schreiben kann?
>
> Momentaner Eintrag in der /etc/fstab:
> /dev/ad1s2 /mnt/austausch msdos rw 0 0

Entweder setzt Du den Permission-mode des Mountpoints _vor_
dem Mounten auf 0777 (== a+rwx):

# chmod 0777 /mnt/austausch

Die Permission-modes des Mountpoints werden nämlich als
Default für alle Dateien vom msdosfs genommen.
Oder Du überschreibst diesen Default mit der Option -m
von msdosfs in der /etc/fstab:

/dev/ad1s2 /mnt/austausch msdos rw,-m=777 0 0

Wink mit dem Zaunpfahl: Steht alles in der manpage ... ;-)

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 29 Sep 2002 - 13:48:28 CEST

search this site