[PATCH v2 2/5] virtiofsd: create lock/pid file in per user cache dir

2020-07-30 Thread Vivek Goyal
Right now we create lock/pid file in /usr/local/var/... and unprivliged user does not have access to create files there. Hence, in unprivileged mode, create this file in per user cache dir as specified by environment variable XDG_RUNTIME_DIR. Signed-off-by: Vivek Goyal --- tools/virtiofsd/fuse_

Re: [PATCH v2 2/5] virtiofsd: create lock/pid file in per user cache dir

2020-08-07 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > Right now we create lock/pid file in /usr/local/var/... and unprivliged > user does not have access to create files there. I *think* the /usr/local there is coming from the build config of your qemu; but I'm not 100% sure whether it's just it's --preifx