File permission issues after setting up an amazon ec2 instance
- by Pardoner
I've set up an amazon ec2 instance and I'm have some file permission issues. I've created myself a new user and added myself to the following groups:
adm:x:4:me,ubuntu
www-data:x:33:me,www-data
ssh:x:108:me
admin:x:111:me
ubuntu:x:1000:www-data,me
me:x:1001:me
but when I cd /var/www I can't do simple commands without doing sudo first. So I chmod…