首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >获取有关奇怪目录的信息

获取有关奇怪目录的信息
EN

Server Fault用户
提问于 2018-11-16 11:51:44
回答 1查看 828关注 0票数 2

Joplin桌面应用程序(https://joplin.cozic.net/)在/tmp中创建了一个目录,我无法以root用户的身份获得任何信息:

当以常规用户身份登录时,我可以输入dir,甚至不能显示其属性:

代码语言:javascript
复制
regularuser@homehost /tmp % ls -ld .mount_JoplinHNsadS
drwxrwxr-x 4 root root 0 Sep 30 21:48 .mount_JoplinHNsadS

regularuser@homehost /tmp % lsattr .mount_JoplinHNsadS
lsattr: Function not implemented While reading flags on .mount_JoplinHNsadS/AppRun
lsattr: Inappropriate ioctl for device While reading flags on .mount_JoplinHNsadS/app
lsattr: Function not implemented While reading flags on .mount_JoplinHNsadS/joplin.desktop
lsattr: Operation not supported While reading flags on .mount_JoplinHNsadS/joplin.png
lsattr: Inappropriate ioctl for device While reading flags on .mount_JoplinHNsadS/usr

但是,root甚至不能进入这个目录:

代码语言:javascript
复制
root@homehost /tmp % ls -al | grep mount
ls: cannot access '.mount_JoplinHNsadS': Permission denied
d?????????  ? ?    ?         ?            ? .mount_JoplinHNsadS

root@homehost /tmp % file .mount_JoplinHNsadS
.mount_JoplinHNsadS: cannot open `.mount_JoplinHNsadS' (Permission denied)

为什么会发生这种事?我以为root可以访问任何目录,即使设置了像/tmp这样的粘性位?

如何诊断这样一个目录为根?这个目录是如何创建的?

EN

回答 1

Server Fault用户

发布于 2018-11-16 15:56:36

感谢迈克尔·汉普顿:

代码语言:javascript
复制
% mount | fgrep .mount
Joplin-1.0.111-x86_64.AppImage on /tmp/.mount_JoplinHNsadS type fuse.Joplin-1.0.111-x86_64.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/940329

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档