Archiv verlassen und diese Seite im Standarddesign anzeigen : dvd-ram als gruppe mounten?
Hallo,
ich habe in meinem Server einen DVD-RAM writer, der udf formatierte DVDs beschreiben kann.
Soweit so gut.
Wenn ich das medium mounte, gehört es immer root:root, egal ob ich die rechte änder oder nicht.
Wie kann ich ihn überreden, das er das medium als amanda:disk mountet?
Ich hoffe jemand hat eine idee,
Danke,
der2of6
Guckst du in die man page, da steht sowas wie:
.
.
.
Mount options for udf
udf is the "Universal Disk Format" filesystem defined by the Optical Storage Technology Association, and is often used for DVD-ROM. See also iso9660.
gid=
Set the default group.
umask=
Set the default umask. The value is given in octal.
uid=
Set the default user.
.
.
.
Jetzt brauchst du nur noch die IDs für amanda und disk wissen, nehmen wir 1000 und 1001 an, dann mit
mount -o uid=1000,gid=1001 ...
mounten.
ok, wenn ich ein
mount -t udf -o uid=33,gid=6,umask=0000 /dev/hdc /mnt/
mache, dann bekomme ich mit mount folgende aussage:
/dev/hdc on /mnt type udf (rw,uid=33,gid=6,umask=0000)
soweit so gut.
Wenn ich jetzt ein
ll /mnt
mache, dann schaut das so aus.
drwxr-xr-x 2 root root 256 Jan 29 10:03 data
-rw------- 1 root root 11 Feb 2 10:52 info
drwxr-xr-x 2 root root 40 Jan 29 09:02 lost+found
irgendwas passt da doch noch nicht :(
Sehr seltsam. Da bin ich im Moment auch überfragt, woran das liegen kann. :confused:
also ich bin mittlerweile so weit, das ich weiß, das es ein Kernel Bug ist.
ab welcher version das richtig geht weiß ich allerdings ned.
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.