每次双击想打开后缀txt的文件,提示它是可执行文本文件。
Tofloor
poster avatar
星罗秋旻
deepin
2018-06-24 20:34
Author

如题,用右键 将其打开方式默认为-文本编辑器。但是,下次双击,仍然会出现,该文件为可执行文本文件的提示。

以前我没有用过deep liunx。
请教,大家的系统与是这样的还是我的系统有问题。
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
a946488029
deepin
2018-06-24 21:18
#1
你加了X权限就会这样提示
Reply View the author
avatar
187******09
deepin
2018-06-24 23:10
#2
chmod a-x *.txt
Reply View the author
avatar
187******09
deepin
2018-06-24 23:11
#3
*.txt是你文件名
Reply View the author
avatar
huimin_c
deepin
2018-06-25 01:30
#4
好好了解下chomd这个命令
Reply View the author
avatar
老陌
deepin
2018-06-25 01:46
#5


右键,属性。 把执行权限去掉。
Reply View the author
avatar
星罗秋旻
deepin
2018-06-25 03:54
#6
谢谢大家,我去试试
Reply View the author
avatar
wtz
deepin
2018-06-25 04:38
#7
https://bbs.deepin.org/post/159297
右键,属性。 把执行权限去掉。

还是老陌的回答最接地气。
Reply View the author
avatar
181******18
deepin
2018-06-25 05:29
#8
https://bbs.deepin.org/post/159297
右键,属性。 把执行权限去掉。

按照你的 方法无法去掉,它还是自动送打钩的
Reply View the author
avatar
wtz
deepin
2018-06-25 10:51
#9
https://bbs.deepin.org/post/159297
按照你的 方法无法去掉,它还是自动送打钩的

那个文件是不是在NTFS分区上?
Reply View the author
avatar
老陌
deepin
2018-06-25 13:28
#10
https://bbs.deepin.org/post/159297
那个文件是不是在NTFS分区上?

厉害,我试了一下,在NTFS分区中是这样的。
Reply View the author
avatar
leaks1919
deepin
2018-06-25 15:04
#11
哎 ,,这些东西
Reply View the author
avatar
Dracarys
deepin
2018-06-25 15:14
#12
这算bug吧
Reply View the author
avatar
老陌
deepin
2018-06-25 15:30
#13

NTFS是不是不支持文件权限。
Reply View the author
avatar
Dracarys
deepin
2018-06-25 15:53
#14
https://bbs.deepin.org/post/159297
NTFS是不是不支持文件权限。

有道理,非ext4格式,我看ntfs上的文件权限都是777,改不了
Reply View the author
avatar
181******18
deepin
2018-06-25 20:04
#15
https://bbs.deepin.org/post/159297
那个文件是不是在NTFS分区上?

确实是NTFS文件系统上的,我装了双系统
Reply View the author
avatar
kangerhui
deepin
2018-10-23 17:51
#16
https://bbs.deepin.org/post/159297
右键,属性。 把执行权限去掉。

所有txt文件如何一次性解决这个问题,右键+属性的话要到猴年马月了。
Reply View the author
avatar
duanyao
deepin
2018-10-23 20:12
#17
感觉文件管理器可以放弃仅仅根据可执行属性判断可执行文件的做法,判断标准改为:有 x 属性,并且要么是 ELF 可执行文件,要么是开头有 "#!" 的文本文件。
Reply View the author
avatar
duanyao
deepin
2018-10-23 20:16
#18
https://bbs.deepin.org/post/159297
所有txt文件如何一次性解决这个问题,右键+属性的话要到猴年马月了。

用 nautilus 文管,可以同时选中多个文件,右键,一起改属性。
如果是 NTFS 或 FAT 文件系统就算了,改了也白改。
Reply View the author
avatar
187******69
deepin
2018-10-24 00:01
#19

不用特意用自己的文件名,原命令 chmod a-X *.txt 更好吧。。。
Reply View the author
avatar
187******09
deepin
2018-10-24 00:24
#20
https://bbs.deepin.org/post/159297
不用特意用自己的文件名,原命令 chmod a-X *.txt 更好吧。。。

楼主是新手,以防万一还是别匹配的好
Reply View the author
1 / 2
To page