aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2018-11-23 15:33:41 +0530
committerOle Trøan <otroan@employees.org>2018-11-26 08:59:39 +0000
commit00adcceaf09db5c94860c2bae8590c3efdd224fd (patch)
treea3ffc45c671846366257eadf25e2d0cceaad5474
parent277681ebfd5f7a6742490522239eeee575f21c71 (diff)
Fix permission for vpp_papi
The permission for the top-level vpp_papi dir under /usr/lib/python2.7/site-packages is set to 644 which means that non-root users cannot import vpp_papi. As a result, devstack setup with VPP/networking-vpp fails since it is run as non-root user. Change-Id: Id85b468b2dcc92efb3a64c51ffb23ef6d596e4ad Signed-off-by: Onong Tayeng <otayeng@cisco.com> (cherry picked from commit 9b0ce0215b6e699851a3b54fb2a7003800ca53e4)
-rw-r--r--extras/rpm/vpp.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index cd90a27494a..bf2d83a84c8 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -392,7 +392,7 @@ fi
/usr/share/java/*
%files api-python
-%defattr(644,root,root)
+%defattr(644,root,root,755)
%{python2_sitelib}/vpp_*
%files selinux-policy