Unable to read file although member of group with read permissions

How is it possible I am not able to read the AS file below?

note that I have logged out and in back again since my addition to group nkaramol

<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2e4f454f5c4f4341426e6f404a5c41434b4a4f">[email protected]</a>:~/alex$ ls -al
total 16
drwxr-xr-x  3 akaramol akaramol 4096 Νοε   3 21:20 .
drwxr-xr-x 21 akaramol akaramol 4096 Δεκ  29 13:25 ..
----r-----  1 akaramol nkaramol   12 Νοε   3 21:20 AS
dr-x------  3 akaramol akaramol 4096 Δεκ  21 19:15 nick
<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f89993998a99959794b8b9969c8a97959d9c99">[email protected]</a>:~/alex$ groups akaramol 
akaramol : akaramol nkaramol
<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b0d1dbd1c2d1dddfdcf0f1ded4c2dfddd5d4d1">[email protected]</a>:~/alex$ whoami 
akaramol
<a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="93f2f8f2e1f2fefcffd3d2fdf7e1fcfef6f7f2">[email protected]</a>:~/alex$ cat AS 
cat: AS: Permission denied

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

You’re the owner of the file, and the owner doesn’t have any permissions on the file. Permissions aren’t cumulative: the most specific permissions apply, and only those permissions. Group permissions apply to group members who aren’t the file owner.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x