Text files on ntfs partitions have no permission attributes, so linux by defaults sees some of them as executable, such as .sh files. But sometimes this can be annoying, eg. I often edit .yaml config files, but Linux sees them as executable too. When I double click a .yaml, it gets executed insdead of being opened by text editor.
I'm doing this on debian, so it may behave differently from puppy. But anyway, there must be some mechanism by which the system tells which text files are executable. Can it be modified?