Bug: moved directory on network drive has new date
Bug: moved directory on network drive has new date
If I move a directory of a virtual drive N:
- which is a directory of a 3 TB network drive (NTFS) -
into an other directory of the same virtual drive N:
- with the option "Preserve dates and times of directories" always on -
then the moved directory has the actual date and time.
If I use copy instead of move
or if I move the directory from N: to C: and then to N:
then the date and time of the directory is preserved.
- which is a directory of a 3 TB network drive (NTFS) -
into an other directory of the same virtual drive N:
- with the option "Preserve dates and times of directories" always on -
then the moved directory has the actual date and time.
If I use copy instead of move
or if I move the directory from N: to C: and then to N:
then the date and time of the directory is preserved.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Bug: moved directory on network drive has new date
I cannot reproduce it on common Windows network drives, any idea what to do somehow else? Please try to turn on option in menu Options > Configuration > General > Use fast directory move on Novell Netware and then try to reproduce it. It can help if the drive is detected as Novell Netware drive. Let me know if it still changes date&time of moved directory. When directory is moved just by renaming (in scope of one disk), it should not change date&time, so the Preserve dates and times of directories option should be ignored (because it behaves like it is always on).
Re: Bug: moved directory on network drive has new date
Sorry, your hint did not fix this problem. I only pressed F6 to move the directory and the only option set (as default) is "Preserve dates and times of directories". Here is the screenshot of "Drive Information":
I can not undelete files on this network drive, but I can restore older backup-versions:-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Bug: moved directory on network drive has new date
I'm not sure if you have tried it. I would like to know if the date & time of moved directory is changed even if that option (Use fast directory move on Novell Netware) is set.TÜV wrote:Sorry, your hint did not fix this problem. I only pressed F6 to move the directory and the only option set (as default) is "Preserve dates and times of directories".
If you want to clear "Preserve dates and times of directories" option click arrow on Options button to open menu and choose Reset options and defaults.
Re: Bug: moved directory on network drive has new date
After F5 copy on the network drive the filedates are:
After F6 move on the network drive the filedates are: "Created" is preserved, "Modified" is not restored after the move process.
"Created" is new, "Modified" is restored after the copy process (this can be watched if directory with lots of files in it is copied).After F6 move on the network drive the filedates are: "Created" is preserved, "Modified" is not restored after the move process.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Bug: moved directory on network drive has new date
Move should be just single rename operation, the content of the directory should stay untouched, so all dates should stay unchanged. What about your move operation, does it seem to move the content of the directory (all files/dirs inside) or is it that single rename (very fast, independent on how many files are in the directory)?TÜV wrote:After F6 move on the network drive the filedates are:"Created" is preserved, "Modified" is not restored after the move process.
Re: Bug: moved directory on network drive has new date
After selecting the General Configuration "Use fast directory move on Novell NetWare", resetting the move options, restart of Alatap Salamander 2.53 beta 1 and pressing F6 with the "Preserve dates and times of directories" option selected, the filedates are as shown above (no difference whether "Use fast directory move on Novell NetWare" is selected or not).
The move process is very quick (a rename, not a copy process), also if "Use fast directory move on Novell NetWare" is not selected.
The dates of all subdirectories in the moved directory are unchanged, also if "Preserve dates and times of directories" is not selected.
After F5 copy the dates of the subdirectories are unchanged only if "Preserve dates and times of directories" is selected.
After renaming a directory with F2 all 3 dates of the file (shown after Ctrl-F2) are unchanged.
On that network drive I get "Error: (5) Access denied" in a window "Error Reading or Writing Owner or Permissions" if I select the option "Preserve owners and permissions (not inherited) on NTFS drives" and the directory contains files with other owners.
Probably only the routine to restore die "Modified" date after move (like after copy) should be selectable (so that this has not to be done manuallly each time, with Ctrl-F2).
The move process is very quick (a rename, not a copy process), also if "Use fast directory move on Novell NetWare" is not selected.
The dates of all subdirectories in the moved directory are unchanged, also if "Preserve dates and times of directories" is not selected.
After F5 copy the dates of the subdirectories are unchanged only if "Preserve dates and times of directories" is selected.
After renaming a directory with F2 all 3 dates of the file (shown after Ctrl-F2) are unchanged.
On that network drive I get "Error: (5) Access denied" in a window "Error Reading or Writing Owner or Permissions" if I select the option "Preserve owners and permissions (not inherited) on NTFS drives" and the directory contains files with other owners.
Probably only the routine to restore die "Modified" date after move (like after copy) should be selectable (so that this has not to be done manuallly each time, with Ctrl-F2).
Re: Bug: moved directory on network drive has new date
Explain "virtual drive" further?If I move a directory of a virtual drive N:
You've mapped N: to \\SDEFILA02004... but are you running that under a virtual environment - VirtualBox or similar?
WinXP Pro SP3 or Win7 x86 | SS 2.54
Re: Bug: moved directory on network drive has new date
N: ist not a physical drive (like C:), but the directory "\\SDEFILA02004.fil.de.itgr.net\RF-UnitISFIL" on a physical drive (by this the total path can be longer than 255 characters).
Re: Bug: moved directory on network drive has new date
with my user rights I can not access the root \\SDEFILA02004.fil.de.itgr.net\
Re: Bug: moved directory on network drive has new date
\\SDEFILA02004.fil.de.itgr.net is the name of the server, RF-UnitISFIL is the name to reach a certain directory on this server.
If I create something similar on my PC (a directory which can be accessed by U:) then F6 move works fine inside U:
If I create something similar on my PC (a directory which can be accessed by U:) then F6 move works fine inside U:
Re: Bug: moved directory on network drive has new date
I have the same effect if I use the command "move" in the command line, and also on a second network drive which is located in an other city.
I will ask our admin for details of the network drives.
I will ask our admin for details of the network drives.
Re: Bug: moved directory on network drive has new date
Probably the problem is caused by a RAID-drive.
Now I found a solution:
I access the RAID-network-drive twice, with different drive letters N: and U:,
then moving from N: to U: is slower (like copy), but the option "Preserve dates and times of the directories" works
Now I found a solution:
I access the RAID-network-drive twice, with different drive letters N: and U:,
then moving from N: to U: is slower (like copy), but the option "Preserve dates and times of the directories" works
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Bug: moved directory on network drive has new date
I think this is not good solution, it can be very slow.TÜV wrote:Probably the problem is caused by a RAID-drive.
Now I found a solution:
I access the RAID-network-drive twice, with different drive letters N: and U:,
then moving from N: to U: is slower (like copy), but the option "Preserve dates and times of the directories" works
I have reproduced this problem on Samba network drive (on Linux server). I have added check if dates× are correct after fast moving directories (just by renaming them) and in case of incorrect dates× the original ones are set. So it should work with new version, please wait for next version release to test it on your network drive. Thanks!
Re: Bug: moved directory on network drive has new date
this is a good solution, thank you