Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685242 - nftables saved configuration shouldn't be world-readable
Summary: nftables saved configuration shouldn't be world-readable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nftables
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-04 18:05 UTC by Tomas Dolezal
Modified: 2019-03-17 03:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-17 03:49:57 UTC


Attachments (Terms of Use)

Description Tomas Dolezal 2019-03-04 18:05:39 UTC
nftables-0.9.0-2.fc29.x86_64

stat -c '%A %U:%G %n' /etc/sysconfig/nft* /etc/nftables{,/*}
-rw-r--r-- root:root /etc/sysconfig/nftables.conf
drwxr-xr-x root:root /etc/nftables
-rw-r--r-- root:root /etc/nftables/all-in-one.nft
-rw-r--r-- root:root /etc/nftables/arp-filter.nft
-rw-r--r-- root:root /etc/nftables/bridge-filter.nft
-rw-r--r-- root:root /etc/nftables/inet-filter.nft
-rw-r--r-- root:root /etc/nftables/ipv4-filter.nft
-rw-r--r-- root:root /etc/nftables/ipv4-mangle.nft
-rw-r--r-- root:root /etc/nftables/ipv4-nat.nft
-rw-r--r-- root:root /etc/nftables/ipv4-raw.nft
-rw-r--r-- root:root /etc/nftables/ipv6-filter.nft
-rw-r--r-- root:root /etc/nftables/ipv6-mangle.nft
-rw-r--r-- root:root /etc/nftables/ipv6-nat.nft
-rw-r--r-- root:root /etc/nftables/ipv6-raw.nft


Expected results:
ownership stays same, g,o mode is 0. the same applies for /etc/nftables/ folder

Comment 1 Fedora Admin XMLRPC Client 2019-03-17 03:49:57 UTC
Seems reasonable. 

Fixed in rawhide.


Note You need to log in before you can comment on or make changes to this bug.