i have amazon ec2 instance running, i read about amazon IAM but not able to figure out how can i achieve this thing.
My problem is i have many directory created in my ec2 instance, so let's say i want to create IAM user and i want to give permission that that user can access only one directory which is on /home/user and user can download files from this location so what kind of permissions i have to assign for achieving above thing?
i created User with read only permission but what kind of user policy i have to attatch with this so that i can achieve my desired output.