rm: cannot remove ‘70-persistent-net.rules’: Operation not permitted

(Last Updated On: November 11, 2019)

Problem

# rm -rf 70-persistent-net.rules
rm: cannot remove ‘70-persistent-net.rules’: Operation not permitted

Troubleshooting

# lsattr
----i--------e-- ./70-persistent-net.rules
# chattr -i ./70-persistent-net.rules
# lsattr
-------------e-- ./70-persistent-net.rules
# rm -rf 70-persistent-net.rules

done