These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for When creating new virtual domain Virtualmin creates with permissions 750 on the new forum.
This is on a box running Debian Linux, how can I change Virtualmin so that it creates new Virtual Servers with permissions 755 instead of 750? I've been looking through config files in /etc/webmin/virtual-server and found where to change the shell from /bin/sh to /bin/false but nothing relating to the home directory permissions. Thank you, Darryl
You could add scripts to be executed after virtual server creation (in the Virtualmin config, section "Actions upon server and user creation"), which can in turn set the home directory to the permissions you desire.
In case others are looking the file was config in /etc/webmin/useradmin - changed homedir_perms=0750 to homedir_perms=0755
Also to set shell to /bin/false had to change config in /etc/webmin/virtual-server/ from unix-shell=/bin/sh to unix-shell=/bin/false
And last comment, to set file permissions to 755 within home directory changed the config file in /etc/webmin/virtual-server (same as previous entry) to html_perms=0755, was at 0750.
Darryl