schranzip
03.04.07, 22:13
Hi allerseits,
hab ein kleines Problem, vielleicht kann mir da jmd helfen...
Ich möchte ein Verzeichnis an eine andere Stelle im Dateisystem spiegeln. Dies ist möglich mit der --bind option von mount. Allerdings soll das gespiegelte Verzeichnis read-only sein.
Also habe ich folgenden Aufruf:
mount --bind -o ro -t ext3 /verzA /verzB
Das mouten klappt, mount gibt mir danach auch brav aus:
/verzA on /verzB type ext3 (ro,bind)
Allerdings kann ich immernoch in /verzB schreiben, umbenennen,etc, also alles was ich eigentlich nicht erlauben will.
Irgendwelche Tips, Hinweise, etc??? DANKE!!
Gruss,
Sven
PS: Ich muss das mounten leider händisch / per script machen, per fstab machts für mich keinen sinn...
hab ein kleines Problem, vielleicht kann mir da jmd helfen...
Ich möchte ein Verzeichnis an eine andere Stelle im Dateisystem spiegeln. Dies ist möglich mit der --bind option von mount. Allerdings soll das gespiegelte Verzeichnis read-only sein.
Also habe ich folgenden Aufruf:
mount --bind -o ro -t ext3 /verzA /verzB
Das mouten klappt, mount gibt mir danach auch brav aus:
/verzA on /verzB type ext3 (ro,bind)
Allerdings kann ich immernoch in /verzB schreiben, umbenennen,etc, also alles was ich eigentlich nicht erlauben will.
Irgendwelche Tips, Hinweise, etc??? DANKE!!
Gruss,
Sven
PS: Ich muss das mounten leider händisch / per script machen, per fstab machts für mich keinen sinn...