I am trying to batch create sites for student use. I want them to be able to upload basic webpages (no db) to the site via FTP but no email, no mysql etc.
Here is the script I have been playing with;
virtualmin create-domain --domain jay.mydomain.ca --unix --dir --web --quota 50000 --uquota 50000 --user jay --pass jayjay
This creates the site great, but when I ftp the new site with the user account, I see too many folders that will confuse the situation;
200 PORT command successful
150 Opening ASCII mode data connection for file list
226 Transfer complete
How can I limit the user to only public_html and not see the other folders? They don’t need access to cgi-bin, fcgi-bin, homes,virtualmin-backup, logs, or etc. Mail isn’t setup for the account so maildir shouldn;t display either.
Maybe my script needs a bit of tweaking?