for the life of me i can 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?