I have a group of files that I cannot access via cat
or vim
although I have read access.
The parent directory has permissions set as follows:
drwxrws--- 2 test test_grp 94424 May 10 20:01 my_test_grp
Then the file that I would like to access has permissions set as follows:
-rwxrwx--- 1 test test_grp 3398 May 10 19:40 my_test_file.txt
When I execute id -gn
, it returns the following: test_grp
When I try to execute cat
, I receive the following:
cat: my_test_file.txt: Permission denied
I've tried logging out and logging back in to the terminal, to no avail. Are there any other recommended steps to remediate this issue?
Also, I do not have sudo
access.
Update
After doing a df -h
I can see that the directory is in a location whose filesystem is a mounted NFS. Could that be a factor as well?
ls -Z
on the file lists as follows:-rwxrwx--- test test_grp ? my_test_file.txt
newgrp test_grp
and then try to acess the file