AnsweredAssumed Answered

Unable to modify iptables in a vlc

Question asked by Shishir Kumar on Dec 22, 2017
Latest reply on Dec 24, 2017 by Sravan Koneti



I am trying to deploy a VLC and I am getting strange error in there while I am trying to save iptables


iptables: Saving firewall rules to /etc/sysconfig/iptables: cp: cannot remove `/etc/sysconfig/': Operation not permitted


I am logged in as the 'root' user. The permissions of the files are as below:


[root@xx etc]# ls -ld /etc/sysconfig
drwxr-xr-x. 7 root root 4096 Dec 22 11:41 /etc/sysconfig
[root@xx etc]# ls -ld /etc/
drwxrwxr-x. 108 root root 12288 Dec 22 11:12 /etc/
[root@xx etc]# ls -l /etc/sysconfig/iptables
-rw-------. 1 root root 3580 Sep 26 11:01 /etc/sysconfig/iptables


Strangely enough, I am not even able to change permissions even though I am logged in as the root user. Any pointers on this?