First, I've never done this, but I know bash and GNU/Linux. I think you meant:notjust a typo, right?
Usually /etc is owned by root, so try putting sudo in front of it, assuming you use sudo and are in the sudoers group
example of the /etc dir permissions from the above command output:Which OS and version? This sample is on Slackware 15.0 on an x86_64 PC, but should be the same.
Code:
iptables-save > /etc/iptables/rules.iptablesCode:
iptables-save . /etc/iptables/rules.iptablesUsually /etc is owned by root, so try putting sudo in front of it, assuming you use sudo and are in the sudoers group
Code:
ls -l /Code:
drwxr-xr-x 119 root root 12288 Jan 26 17:58 etc/Statistics: Posted by breaker — Sat Jan 27, 2024 2:09 am