Reputation: 10912
I have the directory /var/app which I've set to be the home directory for the user 'isapp'. The owner of the folder is 'isapp' and the group is 'isapp'. I'm using Amazon's EC2 service, so when you login to SSH you use the user 'ec2-user'. How can I make it so I can access the contents of that directory via SSH? At the moment I get permission denied with and without sudo.
Upvotes: 3
Views: 14547
Reputation: 7635
You can
chmod g+rx /var/app
The fact that you cannot access this folder with sudo is more strange, sudo cd /var/app
is not expected to work but sudo ls /var/app
should.
Upvotes: 5