I'm using Amazon Linux. I have set global read permissions on a file, but I can't seem to access it as a normal user:
[myuser@mymachine ~]$ ls -al /usr/java/jboss/standalone/deployments/myproject.war/css/reset.css ls: cannot access /usr/java/jboss/standalone/deployments/myproject.war/css/reset.css: Permission denied [myuser@mymachine ~]$ sudo ls -al /usr/java/jboss/standalone/deployments/myproject.war/css/reset.css -rwxrwxr-x 1 jboss jboss 771 Oct 29 18:51 /usr/java/jboss/standalone/deployments/myproject.war/css/reset.css [myuser@mymachine ~]$ whoami myuser
Notice that when I run "sudo" I am able to access it. I would like to keep the file owned by the jboss user. How can I get the file accessible to my (or anyone else's user) in read mode?