Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8035

General discussion • Re: Have No Clue

$
0
0
First, I've never done this, but I know bash and GNU/Linux. I think you meant:

Code:

iptables-save > /etc/iptables/rules.iptables
not

Code:

iptables-save . /etc/iptables/rules.iptables
just 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

Code:

ls -l /
example of the /etc dir permissions from the above command output:

Code:

drwxr-xr-x 119 root root 12288 Jan 26 17:58 etc/
Which OS and version? This sample is on Slackware 15.0 on an x86_64 PC, but should be the same.

Statistics: Posted by breaker — Sat Jan 27, 2024 2:09 am



Viewing all articles
Browse latest Browse all 8035

Trending Articles