文件目录结构为:
drwxr-xr-x 6 root root 4096 Sep 29 02:21 /home
drwxr-xr-x 6 student student 4096 Sep 29 02:23 /home/student
-rwxr-xr-x 6 student student 0 Sep 29 02:23 /home/123.jpg
-rwxrwxrwx 6 student student 0 Oct 27 15:32 /home/t.jpg
可以看出目录 /home/student 与文件 /home/123.jpg 和 /home/t.jpg 隶属于 student 帐号
但我登录 student 帐号无法删除以上任何一个目录/文件,甚至包括文件权限 777 的 /home/t.jpg :
rm: cannot remove `t.jpg': Permission denied
请问这是为什么?明明文件的隶属者是 student ,甚至文件权限为 777 ,但仍然无法修改/删除文件?
drwxr-xr-x 6 root root 4096 Sep 29 02:21 /home
drwxr-xr-x 6 student student 4096 Sep 29 02:23 /home/student
-rwxr-xr-x 6 student student 0 Sep 29 02:23 /home/123.jpg
-rwxrwxrwx 6 student student 0 Oct 27 15:32 /home/t.jpg
可以看出目录 /home/student 与文件 /home/123.jpg 和 /home/t.jpg 隶属于 student 帐号
但我登录 student 帐号无法删除以上任何一个目录/文件,甚至包括文件权限 777 的 /home/t.jpg :
rm: cannot remove `t.jpg': Permission denied
请问这是为什么?明明文件的隶属者是 student ,甚至文件权限为 777 ,但仍然无法修改/删除文件?