eal: fix runtime directory permissions
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 18 May 2018 13:55:35 +0000 (15:55 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 20 May 2018 23:08:26 +0000 (01:08 +0200)
commit97c228a0aa9eea904d2e443a1316abc59dce5783
treeb31c3521268f72f4e1563cf7f96d0bdf32c4f77d
parente8995ed72c863f6d8ffb8cbdab8b855d565c0a3d
eal: fix runtime directory permissions

Executable bit must be set on directories for normal users to enter them.

This patch addresses the inability to start DPDK applications as non-root
due to errors such as:

 EAL: failed to bind /tmp/dpdk/rte/mp_socket: Permission denied

Fixes: 56236363b481 ("eal: add directory for runtime data")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal.c