For the life of me, I can't seem to chown my /var/www folder on my server. i want to:
chown -R ftpuser /var/www
And it returns Invalid Argument on every file change attempt. I've tried sudo with the same result. I'm logged in as user ubuntu while trying to do this, and ubuntu currently owns the /var/www folder.
I'm doing all this to try to get vsftpd working, and so far I can log in via ftp and list the folders, but I cannot write files, and I believe it's because of the permission issue above.
Any ideas how I can get this working?