2010/12/21 Green International <[email protected]>: > I've tried it with the /copyall switch and /copy:datsou and still no luck
> Rightnow i got it half working but am having trouble with part of it. If I > use robocopy, It copies the files and ACL but not the correct create of > modify dates > robocopy \\man_fs2\Batteries \\bed-fs1\servers\man_fs2\Batteries /sec /e > If I use xxcopy I can copy all the files with the proper create and modify > dates but it wont copy the ACL's. > > xxcopy \\man_fs2\Batteries \\bed-fs1\servers\man_fs2\Batteries /backup As far as I examine, these commands save modified date of files: (simple) copy, xcopy /e, robocopy /copy:dat /e, xxcopy /backup. I tried to copy files from Windows XP SP3 to Samba 3.5.6 from source on Lenny. My smb.conf: ----- [share1] path = /some/where/ writeable = yes ----- I also examined your smb.conf setting and got same results. As you know, traditional UNIX file system (including Linux) does not have the semantics of "create time" , does only have accessed, modified and change time. On the other hand, UFS for FreeBSD has a field of birthtime, which means "create time". I tried to copy files from Windows XP SP3 to Samba 3.4.8 from Packages on FreeBSD 8.1. As far as I examine, these commands save modified date of files: (simple) copy, xcopy /e, xxcopy /backup. robocopy always sets nearly "1980/1/1" as the birthtime. Also I can migrate ACLS with xcopy /o /e (only global groups and users) and robocopy /copy:datso /e (users, global / local / builtin groups). --- TAKAHASHI Motonobu <[email protected]> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
