For the life of me, I can't figure out how to change an interface config file in a VM:
sudo vim /etc/sysconfig/network-scripts/enp0s3 won't write and
sudo bash -c "echo 'dog' >> ./enp0s3" fails with "Permission Denied".
I've created a new file
/etc/sysconfig/networks-scripts/enp0s8, and can change it fine. Both files are owned by root and show the same chmod values,
rw-r--r--. They don't show a
+ when running
ls which I think means there are no ACL permissions being applied.
They do have a different selinux user thingy when running
ls -Z. I've set
/etc/sysconfig/selinux and rebooted.
disabled, but I still can't edit the file.
I also don't see any handles on the file when I run