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.
Share
You can
chmod g+rx /var/appThe fact that you cannot access this folder with sudo is more strange,
sudo cd /var/appis not expected to work butsudo ls /var/appshould.