LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2017, 03:41 PM   #16
Sam_Rosewood
LQ Newbie
 
Registered: May 2016
Posts: 23

Original Poster
Rep: Reputation: Disabled

lazydog, you're right. I've made a test: I've downloaded this file again from the internet with home dir for downloads. And it's got permissions with that this message doesn't appear (screenshot).
I've understood: all my library was on another partition with NTFS. And, when I moved a file from it to home, system marked it as executable. Of course, I have to made chmod -x for my library folder because of it. Thanks everyone for the advices.
P.S. Though I've got the reason of it, but I don't know the behaviour of the system: it could consider FB2 as unknown type like APK for Android (screenshot), but it recognizes FB2 file as executable, as you know. And I can't understand logic of this.
Attached Thumbnails
Click image for larger version

Name:	2017-04-19-232148_1280x1024_scrot.png
Views:	74
Size:	77.8 KB
ID:	24809  
 
Old 04-20-2017, 11:36 AM   #17
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Glad to get this sorted for you. I've seen this before and it comes down to 99% of the time that when the file is downloaded the execution flag gets set. If the execution flag wouldn't be set it would not try to execute the file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sublime text editor: opening a second file causes the "waiting" cursor Red Squirrel Linux - Software 1 02-20-2015 07:58 AM
Moving text files between Windows and Linux: Unicode and "executable" problems AchubaNanoiaBR Linux - Newbie 2 07-04-2009 04:15 PM
Can a "Bourne shell script text executable" installer be modified manually ? Libu Linux - Software 2 03-13-2009 06:09 AM
Lost option to "Open with text editor" executable script in 8.04 taylorkh Ubuntu 2 02-04-2009 10:49 AM
How can I catch some "KEY WORDS" from a text file without opening it? yuzuohong Linux - General 1 06-14-2002 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration