We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)
This partly fixes jailed dnsmasq
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
- if (mount("tmpfs", path, "tmpfs", MS_NOATIME, "mode=0744")) {
+ if (mount("tmpfs", path, "tmpfs", MS_NOATIME, "mode=0755")) {
ERROR("tmpfs mount failed %s\n", strerror(errno));
return -1;
}
ERROR("tmpfs mount failed %s\n", strerror(errno));
return -1;
}