FileCopy- Destination file losses the original access mode

Description

If we copy a file from source to the destination it losses the original access mode. For example, I show the simple tabular column for hidden & readOnly mode

Source

Access

Destination

Acces mode

File.txt

Hidden-True

File.txt

Hidden-False

File2.txt

canWrite-False

File2.txt

canWrite-True

I've attached the sample file with the test code to reproduce the issue. ACF works as Expected

Activity

Show:
Pothys - MitrahSoft
July 2, 2019, 2:33 PM

I've added a test case for this ticket

Pull request: https://github.com/lucee/Lucee/pull/709

Pothys - MitrahSoft
December 27, 2019, 3:02 PM

I've checked this ticket with the latest version of lucee 5.3.5.55-SNAPSHOT. It was fixed. So, I've made a test with which version of the lucee has fixed this problem. Finally, I've found the fixed version, which is 5.3.4.4-SNAPSHOT.

Duplicate

Assignee

Michael Offner

Reporter

Pothys - MitrahSoft

Labels

Fix versions

Priority

Critical
Configure