Wir created a separate directory in the userhome named myvms where we want the useraccount to be able to create vms under his responsability, whereas the standard directory contains vms the user is allowed to use but not modify.
Now I realized that despite the myvms is in a subfolder in /home/user/ when the user logged in in proxmox creates a new vm in this directory the access rights of the subfolder images containing the disk is owned by root user. Is there a way to configure the system that way that the vms are created are owned by the corresponding user?
As a workaround I see the possibility to create a cronjob with chown -R username:users /home/username/myvms but thought, I should ask here wether there is a more elegant solution.
Now I realized that despite the myvms is in a subfolder in /home/user/ when the user logged in in proxmox creates a new vm in this directory the access rights of the subfolder images containing the disk is owned by root user. Is there a way to configure the system that way that the vms are created are owned by the corresponding user?
As a workaround I see the possibility to create a cronjob with chown -R username:users /home/username/myvms but thought, I should ask here wether there is a more elegant solution.