diff options
author | Timothy Redaelli <tredaelli@redhat.com> | 2017-06-19 16:50:21 +0200 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-07-10 11:25:45 -0700 |
commit | 03736a6726cb1faf2584ad2536625471ab6d17c5 (patch) | |
tree | c5c51cfbd48e54806ef1a976e53df180de6a405f /rhel | |
parent | b34cd6119aa1ce50d910252202e5eaa13b5fce5e (diff) | |
download | openvswitch-03736a6726cb1faf2584ad2536625471ab6d17c5.tar.gz |
make logs not readable by other
The Open vSwitch log directory and files are currently set world readable.
However, since only Open vSwitch users and processes need to access this
directory and these files there is no need to allow the world to access them,
since it can result in the exposure of sensitive information.
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'rhel')
-rw-r--r-- | rhel/openvswitch-fedora.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index f822ad3ca..3a045d304 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -231,7 +231,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch -install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch +install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch install -p -D -m 0644 \ |