View Issue Details

IDProjectCategoryView StatusLast Update
0000351VisualDifferGeneralpublic2022-03-14 16:03
Reportertkmantis Assigned Toadmin  
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version1.8.6 
Summary0000351: When copying files, write protected files copy with current date.
DescriptionIf I have differences in files between left and right and I copy a write protected (locked) file by right clicking and choosing "Copy to Right", the copy is created with the current date and time.
Steps To Reproduce1. Create two simple folder trees.
2. Include one file on the left that is not on the right.
3. Write protect (or lock) the file in Finder.
4. Perform visual differ comparison looking for differences in timestamps.
5. Right click the file in the left pane and choose "Copy to Right".
6. Perform the comparison again and note the newly copied file fails match because it has current timestamp, not original.
Tagscopy files, locked files

Activities

admin

2022-03-08 08:50

administrator   ~0000729

Which OS version are you using?

On 12.2.1 (21D62) this doesn't happen

tkmantis

2022-03-08 10:44

reporter   ~0000730

I use mostly 10.14.6 and I think this will happen in Big Sur too, but I am most sure about Mojave.

admin

2022-03-08 13:52

administrator   ~0000731

Last edited: 2022-03-08 13:52

Probably I do something wrong, I don't have any machine with mojave but tested on

catalina 10.15.7 (19H1615)
big sur 11.6.4 (20G417)
monterey 12.2.1 (21D62)

and date/time is copied correctly, the file is locked as shown on screenshot

https://visualdiffer.com/vdbugs-screenshots/bug351/bug-351.png

tkmantis

2022-03-08 19:04

reporter   ~0000732

Sorry I had not tested carefully as I had been experiencing this issue in real use. I retested and found some more specific scenarios to reproduce:

Scenario 1: Right drive is External USB Hard Drive, formatted HFS+ [As you fix this you also may want to check APFS file system drives too]
a) Create folder "a" on your desktop and place a locked file into it.
b) Create folder "b" on an external hard drive, leave it empty.
c) Compare the two folders "a" is left, "b" is right by timestamp.
d) Copy the locked file from left to right using right click option "Copy to Right".
e) Re-compare and you will find the newly copied file at right with current timestamp.

Scenario 2: Right drive is SMB server file share on another Mac [As you fix this you also may want to check AFP type of file share as well]
a) Create folder "a" on your desktop and place a locked file into it.
b) Create folder "b" on an SMB server file share on another Mac, leave it empty.
c) Compare the two folders "a" is left, "b" is right by timestamp.
d) Copy the locked file from left to right using right click option "Copy to Right".
e) Re-compare and you will find the newly copied file at right with current timestamp.

Scenario 3: Left drive is SMB server file share on another Mac
a) Create folder "a" on an SMB server file share on another Mac and place a locked file into it.
b) Create folder "b" on your desktop, leave it empty.
c) Compare the two folders "a" is left, "b" is right by timestamp.
d) Copy the locked file from left to right using right click option "Copy to Right".
e) Re-compare and you will find the newly copied file at right with current timestamp.

admin

2022-03-10 12:02

administrator   ~0000733

I'm sorry but I can't reproduce the bug.

What I did

1. connect usb pen to my fritzbox router
2. created file on monterey 12.2.1
3. changed date and time using visualdiffer
4. locked the file from Finder
5. copied file (from VD) to nas using smb:// mount point
6. the copied file is not locked (this is normal) but the date and time are correct

The same steps used under Big Sur 11.6.4 (20G417)

tkmantis

2022-03-13 18:04

reporter   ~0000734

I was on Mojave when I described the three scenarios. Did you try scenario 1 with USB hard drive? I will retest on Big Sur and write again.

admin

2022-03-14 15:10

administrator   ~0000735

I don't have mojave, tested scenario 1 on BigSur

tkmantis

2022-03-14 15:47

reporter   ~0000736

I just did some more testing in Mojave, Catalina, and Big Sur with the latest (1.8.7) version of Visual Differ. I find this issue only occuring in Mojave.

tkmantis

2022-03-14 16:03

reporter   ~0000737

And I just did a test in High Sierra (10.13) and replicated the problem again. I suspect that you could reproduce the bug in Sierra 10.12 (the minimum supported OS), as well, but I did not test that one. I frequently use Mojave and hope this issue can be resolved. Thanks.

Issue History

Date Modified Username Field Change
2022-03-07 19:11 tkmantis New Issue
2022-03-07 19:11 tkmantis Status new => assigned
2022-03-07 19:11 tkmantis Assigned To => admin
2022-03-07 19:11 tkmantis Tag Attached: copy files
2022-03-07 19:11 tkmantis Tag Attached: locked files
2022-03-08 08:50 admin Note Added: 0000729
2022-03-08 10:44 tkmantis Note Added: 0000730
2022-03-08 13:52 admin Note Added: 0000731
2022-03-08 13:52 admin Note Edited: 0000731
2022-03-08 19:04 tkmantis Note Added: 0000732
2022-03-10 12:02 admin Note Added: 0000733
2022-03-13 18:04 tkmantis Note Added: 0000734
2022-03-14 15:10 admin Note Added: 0000735
2022-03-14 15:47 tkmantis Note Added: 0000736
2022-03-14 16:03 tkmantis Note Added: 0000737