timestamps in ZFS geändert nach kopieren

ghostadmin

Grand Admiral Special
Mitglied seit
11.11.2001
Beiträge
25.209
Renomée
190
Standort
Dahoam Studios
Wenn ich etwas über smb auf ein ZFS share (Solaris) kopiere, dann hat die Datei nicht mehr die ursprünglichen Datumseinstellungen, wie die Quelldatei.

create und modifytime entsprechen dem Kopierdatum und nicht dem ursprünglichem Datum.

Kopiere ich etwas auf Linux ist das nicht so.

Kann man das einstellen? SMB ?

Edit: Wenn ich mit einem anderen Tool kopiere und dort explizit einstelle, die Timestamps zu erhalten scheint es auch zu funktionieren.
 
Zuletzt bearbeitet:
Ich hab solche Probleme nicht, aber im Manual zu smb.conf steht folgendes:
dos filetimes (S)

Under DOS and Windows, if a user can write to a file they can
change the timestamp on it. Under POSIX semantics, only the owner
of the file or root may change the timestamp. By default, Samba
runs with POSIX semantics and refuses to change the timestamp on a
file if the user smbd is acting on behalf of is not the file owner.
Setting this option to
yes allows DOS semantics and smbd(8) will change the file
timestamp as DOS requires. Due to changes in Microsoft Office 2000
and beyond, the default for this parameter has been changed from
"no" to "yes" in Samba 3.0.14 and above. Microsoft Excel will
display dialog box warnings about the file being changed by another
user if this parameter is not set to "yes" and files are being
shared between users.

Default: dos filetimes = yes

Aber wie gesagt, das hab ich eben mal so entdeckt. Könnte aber passen. :)
Der default bei mir steht auch bei yes.
 
Zurück
Oben Unten