Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1509

import of vpp_papi fails for non-root user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 18.07, 18.10
    • 18.07, 18.10
    • Python API binding
    • None

      The problem is that from VPP 18.07 onwards, the python api files are bunched under a top-level vpp_papi directory and this directory’s permissions, 644, do not allow non-root users access:

       

      drw-r-r-.  3 root root   4096 Nov 23 09:52 vpp_papi

       

      NOTE: Without the execute permissions, the directory is not accessible to non-root users and hence import of vpp_papi fails.

       

      This causes devstack with VPP/networking-vpp to fail since devstack is run as non-root user.

            ot Onong Tayeng
            ot Onong Tayeng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: