Sample Header Ad - 728x90

Why are my PNGs executable?

1 vote
1 answer
1756 views
I noticed that most of my image files are green when the ls command is used but some of them look purple. [Apparently .png and .jpg files are supposed to look Magenta while executable files are Green.](http://pthakkar.com/2013/03/linux-color-files-ls-command/) But when making a Beamer presentation only the 'executable images' work. Why are my PNGs executable? I am using Ubuntu on the WSL. I get the following error on non-executable images. Would this be a Latex error?
~/LatexFiles/images/LSTM-falsepositive-DRTHIS.png: Permission denied

LaTeX Warning: File `LSTM-falsepositive-DRTHIS.png' not found on input line 32.

! Package pdftex.def Error: File `LSTM-falsepositive-DRTHIS.png' not found: usi
ng draft setting.
The stat command gives this output:
File: images/LSTM-falsepositive-DRTHIS.png
  Size: 90023           Blocks: 176        IO Block: 4096   regular file
Device: 2h/2d   Inode: 5348024557507288  Links: 1
Access: (0000/----------)  Uid: ( 1000/  marcus)   Gid: ( 1000/  marcus)
Access: 2020-02-25 10:56:13.114775800 +0000
Modify: 2020-02-25 10:56:13.114775800 +0000
Change: 2020-02-25 11:10:56.091436300 +0000
 Birth: -
Asked by Marcus (113 rep)
Feb 25, 2020, 01:45 PM
Last activity: Feb 25, 2020, 11:20 PM