]> git.proxmox.com Git - mirror_lxc.git/commit
dir_detect: warn on eperm
authorSerge Hallyn <shallyn@cisco.com>
Thu, 14 Dec 2017 19:16:02 +0000 (13:16 -0600)
committerSerge Hallyn <shallyn@cisco.com>
Thu, 14 Dec 2017 19:32:14 +0000 (13:32 -0600)
commit3d8869c36987fe79bad34dbb934b58b63754952d
treef1fc4b1294c2b823369a82a674c4a43a1d4ace25
parent941ee1fe2a22767edbf399e73e4a33746af612fe
dir_detect: warn on eperm

if user has lxc.rootfs.path = /some/path/foo, but can't access
some piece of that path, then we'll get an unhelpful "failed to
mount" without any indication of the problem.

At least show that there is a permission problem.

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
src/lxc/storage/dir.c