Score:0

Why I can't open text files while x permission is on?

cn flag
pjk

for example I have test_file and I run sudo chmod 775 test_file so now while I'm the owner I can read,write and execute it but with graphical interface it doesn't work, I don't have any error messages it is just doing nothing. I can read it only in terminal using cat or edit with for example nano. By default text files don't have execute permissions set.

I've tried the same on openSUSE and there was no problem, it only doesn't work on Ubuntu

sudo chmod 775 test_file
ls -l test_file
-rwxrwxr-x 1 piotr piotr 0 lip  1 22:57 test_file
Charles Green avatar
cn flag
Can you update your post with `ls -l test_file` please
hr flag
Cross-posted here -> https://unix.stackexchange.com/questions/656577/why-i-cant-open-text-files-when-execetue-x-permission-is-on
pjk avatar
cn flag
pjk
It's actually my post
Gloat avatar
hk flag
Yes you cross-posted, meaning you posted the same question in multiple locations.
jpbrain avatar
ca flag
hello. can you explain "with graphical interface". what are you trying to achieve?
vanadium avatar
cn flag
A text file, even when set to executable, should by default open in your text editor. Check whether the association is properly set: right-click properties.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.