root doesn’t need to be in any groups. It already has unlimited permissions. But, I think installs always happen as the domain owner user…not root. So, maybe the files are owned by root or the apache user or something for some reason and that’s causing problems for writing as the domain owner user? So…check those paths, see who owns them.
Is SELinux disabled (or in permissive mode)? That can cause permission problems even for root.
Hi Joe,
Thank you for a quick reply. I have checked SELinux and it is disabled.
I have always installed scripts using root and never really had issues until recently. I have also logged into Virtualmin as the domain owner and tried installing the script and I got same errors.
I checked the permission on /root/home/DOMAIN folder it is owned by User: DOMAIN and Group: DOMAIN
I have also checked the permission on /root/home/DOMAIN/public_html and same permission as the DOMAIN folder.
do you know where the script actually downloads the file? is it in the /root/home/DOMAIN/Downloads or temp? because I didn’t see any files there
in that case, i would check/test manually, eg.
try to create file/dir from ftp user for DOMAIN, or from cli : sudo -u DOMAIN mkdir /home/DOMAIN/public_html/roundcubemail-1.3.16
see if that outputs any error(s).