我有两个用户(userA和userB)在同一个组(sharedGroup)中。 userA在他自己的目录中创建一个文件夹sharedFolder
,并更改权限以便userB能够“看见”它(RW访问)。子目录的Unix权限
ls -al /homer/userA/sharedFolder
由用户A:
drwxrwxr-x 2 userA sharedGroup 4096 Jan 20 11:41 .
-rw-rw-r-- 1 userA sharedGroup 2559 Jan 20 11:04 testFile
为什么不能从用户B外部访问该文件夹或文件?
cat /home/userA/sharedFolder/testFile
失败Permission Denied
。
我的问题
- 这是真的,你不能访问的目录,如果你没有读父目录的访问 ?
- 有人可以将我链接到 文档或帮助我吗?
- 有没有另一种替代方案 'sharedFolder'从userA的主目录中移出?
你可能会发现[这篇文章](http://blog.superuser.com/2011/04/22/linux-permissions-demystified/)有帮助。 –