[File Manager] 通过指令建的文件,无法通过ui界面删除
Tofloor
poster avatar
seawencheng
deepin
2022-03-17 00:01
Author

复现方法

echo 'test' > a.md

打开文件管理器,右击删除,报没有权限,只能通过指令删除

image.png

Reply Favorite View the author
All Replies
seawencheng
deepin
2022-03-17 00:01
#1

系统信息:

image.png

Reply View the author
zijinyise
deepin
2022-03-17 00:11
#2

创建文件完成应该顺便给文件权限

Reply View the author
ThinKinG
deepin testing team
2022-03-17 00:39
#3

是在哪个路径下创建的文件?

Reply View the author
2023开始学习
deepin
2022-03-17 01:09
#4

很奇怪。能发一下这个文件的权限吗?

另外你这个share文件夹是在根目录下的吗?新建文件的初始权限是可以设置的

Reply View the author
wtz
deepin
2022-03-17 01:19
#5

似乎是老毛病又犯了。。。

Reply View the author
liwl
deepin
2022-03-17 01:43
#6

估计是通过其他nfs,samba,或者外置硬盘挂载的

mount时最好使用 -o 选项指定uid gid

Reply View the author
大多时候吃素
deepin
2022-03-17 03:18
#7
wtz

似乎是老毛病又犯了。。。

什么毛病

Reply View the author
wtz
deepin
2022-03-17 19:53
#8
大多时候吃素

什么毛病

很久以前出现过这个bug:默认的模板文件是只读的,复制到新文件夹后没有调整权限。后来有修复过。

Reply View the author
seawencheng
deepin
2022-03-23 20:12
#9

@wtz @chipjavacpython

文件的权限是: -rw-r--r-- 因此权限是正常的

我找到了表面原因,可能是VirtualBox的原因,只有被VirtualBox挂载的目录,有这毛病,其它目录正常

image.png

Reply View the author