[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mountoptionen für ext3




Am 25.04.2006 um 20:58 schrieb Thomas Wegner:

Ich möchte ein Verzeichnis auf einer ext3-Partition so ausstatten, dass
automatisch files mit einer bestimmten Gruppenkennung erzeugt werden.
Bisher kenne umask und uid und gid. Die gelten aber nur für vfat, soweit
ich es verstanden habe.
Welches Optionen gibt es für ext3? In der manpage habe was von grpid
gelesen. Das mounten wird aber wegen einer unbekannten Option
abgewiesen.

Völlig flascher Denkansatz. Du suchst so was wie

thomas.kosch@slytherin:~$ mkdir test
thomas.kosch@slytherin:~$ ls -ld test
drwxr-xr-x  2 thomas.kosch thomas.kosch 6 2006-04-25 21:31 test
thomas.kosch@slytherin:~$ touch test/a
thomas.kosch@slytherin:~$ ls -l test
insgesamt 0
-rw-r--r--  1 thomas.kosch thomas.kosch 0 2006-04-25 21:32 a
thomas.kosch@slytherin:~$ chmod 2775 test
thomas.kosch@slytherin:~$ sudo chgrp nogroup test
thomas.kosch@slytherin:~$ ls -ld test
drwxrwsr-x  2 thomas.kosch nogroup 14 2006-04-25 21:32 test
thomas.kosch@slytherin:~$ touch test/b
thomas.kosch@slytherin:~$ ls -l test
insgesamt 0
-rw-r--r--  1 thomas.kosch thomas.kosch 0 2006-04-25 21:32 a
-rw-r--r--  1 thomas.kosch nogroup      0 2006-04-25 21:33 b
thomas.kosch@slytherin:~$

ttyl8er, t.k.



Reply to: