Durch ein Befehl und ein paar Änderungen an der smb.conf,
kann man DOS-Attribute direkt in die Datei-Attribute auslagern und nicht wie zur Zeit in den Execute-Bits gespeichert.
Damit es funltioniert. muß man das Dateisystem dazu bringen, weitere Attribute zu speichern bzw. anzunehmen.
Das geschieht mit tune2fs:
fü Single disk:
bzw.
für RAID 0/1/5/6 :
Nun müssen noch ein paar Parameter in der smb.conf angepaßt werden:
bzw. mit diesen Befehlen:
Code
setcfg global "store dos attributes" "yes" -f /etc/smb.conf -c
setcfg global "map archive" "no" -f /etc/smb.conf -c
setcfg global "map system" "no" -f /etc/smb.conf -c
setcfg global "map hidden" "no" -f /etc/smb.conf -c
setcfg global "map read only" "no" -f /etc/smb.conf -c
!Die Änderungen erfolgen auf eigene Gefahr!
Schönen Dank an warpcam.
EDIT:
"map read only = no" hinzugefügt