I'm new to AWS and EC2.
I just added a new EBS volume to my EC2 instance. I formatted and mounted it using instructions from another SO answer.
When I try to access the new volume I have permissions issues. cd /vol
gives me
-bash: cd: /vol: Permission denied
Does anyone know why I can't cd
into the new volume?
In case it's relevant, ls -l /vol
gives me
ls: cannot access /data/lost+found: Permission denied
total 0
d????????? ? ? ? ? ? lost+found
. sudo ls -l /vol
returns
total 16
drwx------ 2 root root 16384 Sep 12 22:14 lost+found
What am I doing wrong?