XYMer's Home away from Home

When http://bbs.xlr8yourmac.com is down (i.e. always)
Privacy Policy
It is currently Fri Jun 05, 2020 11:04 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Sep 24, 2019 9:07 am 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
I have an executable file named exactly "foobar.service" that represents an Ubuntu systemd service. In OS X 10.13 the Finder inexplicably displays this as "foobar.service.app", which is conspicuously and unequivocally incorrect. Totally wrong. Not even close. (In case anyone wonders, this is part of a version controlled directory since I do development on the Mac, and some parts of it are deployed to Linux.)

I can verify that the Finder is on crack by looking at the file in the terminal: it is definitely named "foobar.service" without any spurious ".app" extension.

WTF!?!! is Apple doing? How in the Hell do I disable it? This is the opposite of helpful.

Also, Google can't shed any light on the subject because it's just thirty pages of "how to change a file extension for dummies" crap because Google ignores my actual search terms.

Thanks,
- Anonymous


Top
 Profile  
 
PostPosted: Tue Sep 24, 2019 9:35 am 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
Have you tried rebuilding the Launch DB?


Top
 Profile  
 
PostPosted: Tue Sep 24, 2019 11:05 am 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
I haven't. Would that affect the display of the filename in the Finder? I'll give it a try.

- Anonymous


Top
 Profile  
 
PostPosted: Tue Sep 24, 2019 1:39 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
I'm not sure if it would, but it's often been the cure for like Documents showing up as or with Unix Executable icons.


Top
 Profile  
 
PostPosted: Tue Sep 24, 2019 3:05 pm 
Offline
User avatar

Joined: Thu May 15, 2008 8:13 pm
Posts: 11294
Location: Caught between the moon and NYC
Are you building foobar.service in XCode? Just curious if there may be some "integration" going on in XCode to "help" you by telling Finder to append .app to a project its building.


Top
 Profile  
 
PostPosted: Wed Sep 25, 2019 8:11 am 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
Nope. XCode isn't even installed, except for the command line tools.

- Anonymous


Top
 Profile  
 
PostPosted: Fri Sep 27, 2019 12:28 am 
Offline
User avatar

Joined: Thu May 15, 2008 8:13 pm
Posts: 11294
Location: Caught between the moon and NYC
Someone (don't think it was anyone here) once told me that once Apple moved Finder off the Carbon framework it would have a lot fewer quirks.

Funny how it just seems to get quirkier.


Top
 Profile  
 
PostPosted: Thu Oct 03, 2019 12:28 pm 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
Sierra 10.12.6 Finder reports a *.service as a .service file.

Maybe it's only a quirk in High Sierra. Maybe some unwanted
attribute got attached to your file(s) somehow.

update:
Very interesting: I dragged a file (SymbolicLinker.service) into my
Fresh High Sierra install in a Parallels virtual machine and it thinks it is
an app (SymbolicLinker.service.app). Looks like it is definitely a Finder quirk
native to High Sierra.

Sorry, I haven't a clue of how to fix it (other than shelling out some dough
for a third party file browser like Pathfinder).

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Thu Oct 03, 2019 3:00 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
Ah, good work, didn't think of even looking in 10.13.6, but from way back in 2009 it thinks it's an app, 10.12.6 does not add the .app extension for the same exact file...


Attachments:
osxServicesApp.gif
osxServicesApp.gif [ 10.36 KiB | Viewed 1212 times ]
Top
 Profile  
 
PostPosted: Thu Oct 03, 2019 4:06 pm 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
The OS doesn't see it as an app, but finder does (according to terminal).

I'm guessing that the OS will treat it appropriately (in real time usage), but I didn't experiment that far.

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Sun Oct 06, 2019 11:23 am 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
I feel like reporting this as a bug, but don't currently have an Apple developer account. If anyone who does have one would care to do so, I'd be much obliged.

Thanks
- Anonymous


Top
 Profile  
 
PostPosted: Sun Oct 06, 2019 1:15 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
Anon, do you think it'd get a nano-notice reporting it from 10.13.6 ???


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 10:35 am 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
I don't know, but my feeling is probably not. Does this still happen with 10.14 or 10.15?

- Anonymous


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 11:02 am 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
I don't have nor can I run 10.14 or 10.15... hope for replies from someone who can or does.


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 3:45 pm 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
I was going to report it on the apple developer blog, but my old developer login
didn't work anymore, so I setup a new account with my Apple ID and now to get
on the blog they are supposed to send you a link after they "approve" you.

I still haven't seen any link in my email (since yesterday). Grrrrr!

:nothappy:

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 3:58 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
Thanks, so Mojave does the same thing?


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 4:14 pm 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
I don't know, I deleted my mojave VM to make room to play with High Sierra for a while. :fishsmack:

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 6:13 pm 
Offline
User avatar

Joined: Thu May 15, 2008 8:13 pm
Posts: 11294
Location: Caught between the moon and NYC
How could I replicate this? Is it as simple as touch file.service and then looking at that file in Finder, or do I have to actually have a full fledged .service app? chmod +x file.service maybe?

I have a Mojave test system at work, I'll probably see it tomorrow.


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 7:02 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
You just need a file & view it in Finder, here's one that doesn't show .app in 10.12's Finder, but does in 10.13's finder...

https://my.pcloud.com/publink/show?code ... UGjXT85Fxk

VirusBarrier X5 Service.service.app.zip

Just unzip it in Finder.


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 9:25 pm 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
I just re-installed and updated Mojave (10.14.6) in a parallels VM.

Finder also adds the .app extension to .service files in Mojave just
as High Sierra does. :roll:

Terminal sees the .service files correctly though (just as High Sierra does).

Looks like Finder is the only one confused. The OS itself gets it right.

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Mon Oct 07, 2019 11:05 pm 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
Thanks. :)

Do you have a Dev account to report it?


Top
 Profile  
 
PostPosted: Tue Oct 08, 2019 3:44 am 
Offline
User avatar

Joined: Fri Feb 18, 2011 10:38 pm
Posts: 635
I set up a new dev account yesterday (my old login failed for some reason).

They haven't given me the link to the forum yet, so I can't enter the forum.

I'll try to get on later today.

_________________
Mac pro 1,1 - Mac pro 5,1 w/Areca Raid - Macbook pro 8,3 - Snow Leopard, Mountain lion and Sierra.
"We are the Messengers between Time and its Keeper."


Top
 Profile  
 
PostPosted: Tue Oct 08, 2019 10:05 am 
Offline
Benevolent Dictator
User avatar

Joined: Mon Apr 21, 2008 2:03 am
Posts: 17451
:)


Top
 Profile  
 
PostPosted: Tue Oct 08, 2019 5:07 pm 
Offline
Master

Joined: Sun Apr 20, 2008 5:24 am
Posts: 10170
Location: North of the State of Jefferson
Thanks everyone. I can't wait to hear that this is a feature.

- Anonymous


Top
 Profile  
 
PostPosted: Tue Oct 08, 2019 5:14 pm 
Offline
User avatar

Joined: Thu May 15, 2008 8:13 pm
Posts: 11294
Location: Caught between the moon and NYC
Apple: This is our idea of being helpful!

Hey, when Finder copies the file, does it copy it with the .app extension onto the new file? Or does it copy a new .service file that it then also ghost appends .app onto?

Sorry if this was already mentioned behavior, after the hardware battle I just went through I have the memory permanence of a gnat.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group