1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 2439
/ 1 Year ago, fri, december 2, 2022, 12:33:39
I just set a read only permission to a file using chmod 400 filename.txt
after that I open the file via vi editor and edit and try to save using :w then is says E45: 'readonly' option is set (add ! to override)
so I use :w!
. Then it save the edited file with read only permission? How can it be possible?
Are there any differences between Ubuntu and Fedora that affect access permissions?
More From » permissions