- Posts: 178
- Thank you received: 1
Is it possible to prevent the .hal file from being overwritten?
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
1 month 4 days ago #349910
by Holzwurm56
Is there a way to prevent the .hal file from being overwritten? If you manually edit the .hal file, everything gets overwritten by pncconf. Is there a setting to ensure that only the parts that were actually modified get overwritten in the .hal file?
Thanks,
Hans
Thanks,
Hans
Please Log in to join the conversation.
1 month 4 days ago #349912
by rodw
Replied by rodw on topic Is it possible to prevent the .hal file from being overwritten?
No, once you get a working config stop using pncconf and edit by hand.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
1 month 4 days ago #349916
by tommylight
Replied by tommylight on topic Is it possible to prevent the .hal file from being overwritten?
I am pretty sure MesaCT does not overwrite them, but been quite some time since i used it.
-
In case you want to prevent overwriting config files that are good and done with editing, you can use the file explorer and set the permissions to read only.
-
In case you want to prevent overwriting config files that are good and done with editing, you can use the file explorer and set the permissions to read only.
Please Log in to join the conversation.
1 month 3 days ago #349931
by djdelorie
Replied by djdelorie on topic Is it possible to prevent the .hal file from being overwritten?
chattr +i foo.hal
That prevents linux itself from modifying the file (even as root) until you -i it.
But as Rod said, once you start manually editing it, you can't use the wizards any more.
That prevents linux itself from modifying the file (even as root) until you -i it.
But as Rod said, once you start manually editing it, you can't use the wizards any more.
Please Log in to join the conversation.
Time to create page: 0.141 seconds
