Folder named XYZ.Service changes name to XYZ.Service.app
If I create a folder, from a terminal window, named 'Something.Service', when I look at it in Finder it's called 'Something.Service.app'. So, running the following produces an error and leaves the folder in a bad state.
mkdir Bob.Service
cd Bob.Service
open .
Produces the following error
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3845, _LSFunction=_LSOpenStuffCallLocal}
If I run `xattr` I don't see any attributes so something else is stepping in here. Has anyone seen this and have any idea how to stop it? It's happening on both Monterey and Big Sur.
MacBook Pro 15″, macOS 12.3