I am creating virtual host on Ubuntu 14 LTS. They are working fine but I cannot grant permissions to my user. I tried the command:
sudo chown -R $USER:$USER /var/www/test.com/public_html
But I got the following:
chown: invalid group: 'admin:admin'
admin is my user I created to log with the ssh on my server. I am asking because as it is I cannot transfer file using filezilla (I log as admin). Any ideas?
additional info
id -g
100
groups
users sudo
admin
group. Edit your post to include the output ofid -g
orgroups
. Also, if this is a folder for a website, consider setting the group towww-data
. – muru Feb 03 '15 at 13:29