Copy of a folder from a read-only share to a write share : files stay read-only

I am setting up the use of Nextcloud for file sharing thru web browser and local client. One of the features I intend to create is to allow users to clone a folder and its subfolders from a read-only share to their home folder, where they can write.

The read-only share is hosting templates and the such : is read-only for most users, and write for the guys responsible for managing the templates.

The issue I am facing is that the copied files can’t be modified either from the web interface nor the local sync client. And when I look at the file properties in the Windows explorer, I see that the “read-only” file system attribute is set on the copied files in the home folder. If I unset the attribute, I can modify the file in the web interface and in the synced folder.

I don’t have administrative access to the host, so I can’t use a trick to copy the files another way than using the copy files feature of the web interface.

I tried to copy the file from the web interface or from the synced local copy and the result is the same (it is actually normal behavior for a local copy in an NTFS file system).

Do you experience the same issue, and is there a solution or workaround ?

I made a test on another Nextcloud instance and didn’t encounter this issue. So it is specific to the first instance. How weird…

What are the versions of your Nextcloud Servers?
We’ve the same behaviour on 4 Nextclouds v31 instances!

The Nextcloud server having the issue is version 29.0.11 and the one not having the issue is version 28.0.9.

I will soon upgrade the second one, will be able to tell if the version is involved.