您的位置:首页 > 其它

超级用户find: `/home/pipi/.gvfs': 权限不够

2014-09-25 01:21 447 查看
/article/1480643.html

用 sudo su 命令切换成的根用户,在找某文件的时候报错

root@ubuntu:/home/pipi# find / -perm -2000 
/sbin/unix_chkpwd
find: `/home/pipi/.gvfs': 权限不够


就是普通用户pipi的主目录下的一个叫 .gvfs 的目录,

dr-x------ 2 pipi pipi 0 5月 6 10:06 .gvfs
d????????? ? ? ? ? ? .gvfs

permission denied on .gvfs

When attempting to use the update system I receive a unable to stat and permission denied on /home/whatever/.gvfs

When looking at it with an ls -l it looks like

????????????? ? ? ? ? ? .gvfs

you can not chown, touch, edit, remove, or do anything as the user of the home dir or as root. Both receive a permission denied.

Any suggestions?

Also, I am running OpenSuSE 11.0. I found similar issues in the beta / rc sections of the forum but I am running the actual release for 11.

A solution to remove .gvfs , odd directory:

#umount /home/useraccount/.gvfs

#find . -inum 554009 -exec rm{} \;

After that,

#rm -rf .gvfs

ps:

为什么会出现这种现象?



I think this is a "well-know" bug, reported several times. So, maybe still

not fixed:

***

Bug 467862 - By opening firefox a file ".gvfs" are created in the home

direcotry with no access rights

https://bugzilla.novell.com/show_bug.cgi?id=467862

Bug 368628 - gvfs: Random crashes

https://bugzilla.novell.com/show_bug.cgi?id=368628

***

gvfs,好像是你没用这个用户登录图形界面,用户家目录就没有它

这个目录是挂载点的话,大小为0也没有问题

系统为了安全起见不允许root用户登陆图形界面的,可以终端登陆,再查看/root文件夹,里面好像没什么东东,如果你实在想看/root 文件夹,可以修改权限,不过不建议这么做

以root登陆终端 chmod o+r /root

建议看过后改回chmod o-r /root

from:/article/1480643.html

ref:Thread: permission denied on .gvfs
https://bugzilla.novell.com/show_bug.cgi?id=404758
root 用户在本地系统上也有权限不够的时候?

root 也没权限?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐