summaryrefslogtreecommitdiffstats
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-23 11:43:46 +0000
commit9b0ce0215b6e699851a3b54fb2a7003800ca53e4 (patch)
tree2123e6ce62a49140291122b3acd40563ec3cc54e
parent46bf8665dd9e260c8cdfa4030009503acd2e0a12 (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>
-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