Linux中已给user用户设置rwx了且与mask完全一样为什么user用户不可以查看文本文件?

从root用户转到user用户查看f.txt文本文件时提示没有权限
[root@localhost ~]# ll /home/struggleh_27/f.txt
-rw-rwxrw-+ 1 root root 22 4月 11 14:53 /home/struggleh_27/f.txt
[root@localhost ~]# getfacl /home/struggleh_27/f.txt
getfacl: Removing leading '/' from absolute path names

file: home/struggleh_27/f.txt

owner: root

group: root

user::rw-
user:user:rwx
group::r--
mask::rwx
other::rw-

[root@localhost ~]# su user
[user@localhost root]$ cat /home/struggleh_27/f.txt
cat: /home/struggleh_27/f.txt: 权限不够
 
请问为什么这样啊,怎么才能使用user用户查看

最大的可能性是home/struggleh_27这个目录的权限有问题,如果这个目录的属主不是user用户的话,这个目录最起码other要有r-x的权限才行。
你可以ll -d /home/struggleh_27 查看一下这个目录的权限
如果少权限的话使用chmod o+rx /home/struggleh_27即可