OS Ubuntu 20.04
Version: 6.4.6.2
Build ID: 1:6.4.6-0ubuntu0.20.04.1
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3;
Locale: en-US (en_CA.UTF-8); UI-Language: en-US
Calc: threaded
I set a file as read only using UNIX permissions.
When I open this read-only file in Writer, I can modify the document and save the changes without warning.
It hasn’t always been this way. I have been warned about Read Only mode. When this happens I cannot put the cursor into writing mode. This is how it should be.
After some interesting comments I am adding some additional information :
Additional information
stephen@asus:~/winter-romance$ ll | grep 360.1
-r--r--r-- 1 stephen stephen 31K 2021-03-04 12:41 360.1.SnowStormOnTheMillerRoad.odt
stephen@asus:~/winter-romance$ sha1sum 360.1.SnowStormOnTheMillerRoad.odt
c2ec420ad587a27df0ce44c711d0642997d98511 360.1.SnowStormOnTheMillerRoad.odt
Note the file has no write permissions
I then load the file in Writer, make a change, and save the file.
stephen@asus:~/winter-romance$ ll 360.1.SnowStormOnTheMillerRoad.odt
-r--r--r-- 1 stephen stephen 31K 2021-03-04 12:41 360.1.SnowStormOnTheMillerRoad.odt
stephen@asus:~/winter-romance$ ll 360.1.SnowStormOnTheMillerRoad.odt
-r--r--r-- 1 stephen stephen 31K 2021-03-04 12:44 360.1.SnowStormOnTheMillerRoad.odt
stephen@asus:~/winter-romance$ sha1sum 360.1.SnowStormOnTheMillerRoad.odt
fe92a76f365f628dd7041932ebf5bf6a6e480903 360.1.SnowStormOnTheMillerRoad.odt
Note that the modified date on the file has changed and the checksum has changed, but the permissions are not changed.
I guess I don’t understand permissions or I am setting them incorrectly. After years that comes as a surprise, but Linux can be a sly and subtle creature so…
I would very much appreciate be educated on this topic.