I was just wondering how you do your FTP on your webserver. I've always created a folder in
/var/nameofwebsite.com and added a system user with their home directory there.
To me, this looks a bit hackish as files such as .bash_logout are in there and sometimes, the folder permissions don't even work correctly as I set the owner of the folder to
<nameofwebsite><tld> and their group to
ftp which all accounts intended for FTP are in.
Is what I am doing secure and right? I'm setting up a fresh new web server to host my sites on and wanted to know if this setup would last me long.