January 21, 20179 yr Been using Virtualbox to run Nextcloud for a long time and trying to transition to KVM. The problem I am having is with the data directory which I have outside the VM and located on the cache drive set as cache-only. In Virtualbox I map that cache-only directory to 'clouddata' which Nextcloud uses just fine after setting user/group to www-data on initial setup. On the transition to KVM everything works except I am having issues with maintaining user/group and permissions to the data folder map using 9p. I mount the share in fstab and rebooted, and set the user/group to www-data. Nextcloud on first read says nothing wrong. Log out then back in and it complains it either cannot read the data folder or the permissions are not set right. 'ls -la' the data share and everything looks correct. I really do not want to use cifs to map to the share and I do not want to transition to Docker for this and require three Dockers to do what a single VM can do. I have a feeling QEMU alters permissions since it runs as nobody, perhaps? Any ideas or is this a quirk with 9p/QEMU and using user/group other than nobody? Thanks
Archived
This topic is now archived and is closed to further replies.