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 don’t have shell access to the nextcloud instance having the problem, and could not reproduce it on another one ; so I can’t check the filesystem directly.
Did you check the file permissions at the filesystem level for the affected files ? Does the apache user own all the files ? Are they set as read-only after being copied or something ?
Also, on your affected server, is the option preventing re-sharing activated ?
All the files are owned by the apache user as they should, with regular permissions. And I didn’t change any option, so by default re-sharing is enabled.