I am seeing strange behavior on my user account. After creating a new user account and creating the same folder - Finder behavior is normal.
This is true with directories and files.
1st example: I have a .config
folder in my user folder. Finder displays it as a folder with a folder icon until I install BBEdit and restart. Then it displays the .config folder with a BBEdit file icon. To check if the issue was my user account I created a new admin user and created a .config
folder for that user. The .config
folder is displayed properly - with a folder icon.
2nd example. I am creating files with no extenion using a script. Some of the files are seen as Kind: Document
, others are seen as Kind: Unix executable
and yet others as Kind: TextEdit.app Document
. All of the files were created with the same script using the touch
command (the pattern appears to be file names with no white spaces are seen as kind "Document" while file names that have white spaces are seen as kind "Unix executable"). Except.... (maybe just executable bit is set per Ginteras)
Looking inside /etc/paths.d
I have two files: 40-XQuartz
and 100-rvictl
One is seen as a Unix executable the other as a TextEdit.app Document.
EDIT:
Adding a video file to show Finder behavior for the .config
folder.
https://www.dropbox.com/s/7su2pah4do0zutd/screenshot%20.config%20bbedit%20directory.mov?dl=0