On 2021-02-06 17:08:29 Steven D'Aprano via tde-users wrote: > On Sat, Feb 06, 2021 at 02:11:05PM -0600, J Leslie Turriff wrote: > > On 2021-02-06 08:32:38 Marvin Jones via tde-users wrote: > > > One hack is to make that config file Read-Only. > > > It's the sort of hack I use from time-to-time. > > > Your choice, of course. > > > > > > HTH, > > > Jonesy > > > > Even better, make it immutable. > > What is the difference between immutable and read-only, and how do you > make a file immutable? > > I know how to make a file read-only: `chmod a-w file`. > > What does immutability give us that removing write permission doesn't? From info chattr: | A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, | no link can be created to this file and no data can be written to the file. | Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can | set or clear this attribute. Leslie -- openSUSE Leap 15.2 x86_64 Qt: 3.5.0 TDE: R14.0.9 tde-config: 1.0 ____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx