I'm using Ubuntu 14.04 and vsftpd. In the past my account (not root) has had full access, more or less, to either FTP or SFTP to anything on my server and edit any file that my user account could edit. Now, recently, I cannot edit anything, only view. As a specific example, I cannot upload to /var/www
even though my user is a member of the www-data
group and that group owns the files (file/folder permissions are correct).
I'm not terribly familiar with vsftpd and how it works. I mainly need to be able to FTP or SFTP to my /var/www
directory to edit my website. What could be my problem?
EDIT: The specific error message when using FTP is 553 Could not create file.
openssh-server
) not FTP (vsftpd
) - is SSH set up on the machine? Edit: Di any error messages result? Quite a few FTP/SFTP clients have a bit where it tells you what it is doing.www-data
example in the OP.ls -l /var/www
, as by default it cannot be changed by normal users.drwxrwxr-x 2 www-data root 4096 Jun 27 23:50 html