日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

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

發布時間:2023/12/2 linux 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux find 权限不够,超级用户find: `/home/pipi/.gvfs': 权限不够 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

用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

總結

以上是生活随笔為你收集整理的linux find 权限不够,超级用户find: `/home/pipi/.gvfs': 权限不够的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。