下面是我的操作记录,一些内容有删减但是关键内容没有删哈
john@john-Ideapad-V460:/run/user/1000$ pwd
/run/user/1000
john@john-Ideapad-V460:/run/user/1000$ ls -al
总用量 8
drwx------ 9 john john 240 1月 23 21:23 .
drwxr-xr-x 3 root root 60 1月 23 21:35 ..
drwx------ 2 john john 60 1月 23 21:35 dconf
dr-x------ 2 john john 0 1月 23 21:23 gvfs
john@john-Ideapad-V460:/run/user/1000$ su root
密码:
root@john-Ideapad-V460:/run/user/1000# ls -al
ls: 无法访问gvfs: 权限不够
总用量 8
drwx------ 9 john john 240 1月 23 21:23 .
drwxr-xr-x 3 root root 60 1月 23 21:35 ..
drwx------ 2 john john 60 1月 23 21:35 dconf
d????????? ? ? ? ? ? gvfs
root@john-Ideapad-V460:/run/user/1000# lsattr
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./gvfs-burn
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./unity
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./pulse
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./keyring-PhNNRA
./gvfs: 权限不够
root@john-Ideapad-V460:/run/user/1000# su john
john@john-Ideapad-V460:/run/user/1000$ lsattr
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./gvfs-burn
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./unity
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./pulse
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./keyring-PhNNRA
lsattr: 对设备不适当的 ioctl 操作 While reading flags on ./gvfs
【linux root用户无法查看普通用户的文件】ubuntu 14.04版本,为什么root看不了john的gvfs文件夹呢?
答案:1 悬赏:0
解决时间 2021-03-21 04:48
- 提问者网友:醉归
- 2021-03-20 18:21
最佳答案
- 二级知识专家网友:duile
- 2021-03-20 19:48
gvfs的介绍:
What is the "fuse-daemon"?
gvfs-fuse-daemon mounts your network connections as local file systems. The .gvfs dir is where any mounted network/other file systems are stored.
For example: if you connect to you cellphone via the other:\\ prtocol, that directory wiil be mounted under the .gvfs dir so that legacy applications can access it.(like the terminal)
该文件可以在普通用户权限下进行更改,但是除了该用户之外,其它用户不可能对其进行读取或者删除,包括root也一样。
卸载以后就可以读写了 umount gvfs/
What is the "fuse-daemon"?
gvfs-fuse-daemon mounts your network connections as local file systems. The .gvfs dir is where any mounted network/other file systems are stored.
For example: if you connect to you cellphone via the other:\\ prtocol, that directory wiil be mounted under the .gvfs dir so that legacy applications can access it.(like the terminal)
该文件可以在普通用户权限下进行更改,但是除了该用户之外,其它用户不可能对其进行读取或者删除,包括root也一样。
卸载以后就可以读写了 umount gvfs/
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯