I have some files in my Nextcloud that I want to mark as read only. The files aren’t shared with anyone, I just want to mark them as read only so that I don’t accidentally edit or delete them.
On the Linux desktop client, chmod 444 file.txt
accomplishes exactly what I want, but Nextcloud doesn’t sync these permissions to other clients.
Is there a simple way to accomplish marking a file as read only in a way that will propagate this status to other clients?
Functionally, I’d like it to be as if someone else had granted me read only access using the sharing feature, and then to override that and edit/delete the file, I should have to go into the web UI and manually enter my password or something.
I see the Files Access Control app in the store, but it appears both more complicated and less specific than my use case. You have to configure policies for files matching certain patterns, rather than individual files, and it’s not clear to me what happens when you restrict your own write access. In Linux jargon, I want chmod
, not setfacl
.