Mac alias files open in terminal, instead of launching
Some of my alias files no longer launch, but open in Terminal as shell scripts. Any idea of how to fix them?
Mac mini, macOS 10.14
Some of my alias files no longer launch, but open in Terminal as shell scripts. Any idea of how to fix them?
Mac mini, macOS 10.14
Boot into Safe Mode and test some aliases there. Create a couple of new ones and see if they work as they should. Reboot normally and test again.
NOTE: Safe Mode boot can take up to nearly 10 minutes as it's doing some system cache cleaning, volume verifying and directory repairing.
Thanks, new ones work fine.
I got a new Mac, migrated from my old one with Time Machine, and moved a lot of stuff around. Some days later I saw that some Alias files, not all, now showed up in Get Info as Unix Executables and opened in Terminal. Wen I Double-clicked on one, Terminal launched and displayed the following:
MAC:~ user$ /Users/user/Desktop/MS\ \(Mac\)/filename\
alias ; exit;
-bash: /Users/user/Desktop/MS (Mac)/filename
alias: cannot execute binary file
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Disk First Aid ran on all disks OK.
I've recreated the Alias files, but am curious as to what happened, and if is indicative of something serious.
Found the issue. The files had been backed up by CCC backup. II opened a ticket with them, and they replied
"If the backup task has support for extended attributes disabled, then it wouldn't be able to preserve the FinderInfo data associated with alias files" They also sent me a Drop-Script which fixed the broken files by flGGING IT AS BEING AN ALIAS.
I've noticed that when a file loses its identity (as far as the System is concerned) it defaults to the Terminal. I've had some image files do that when their extension is removed.
What’s an alias file?
An Alias of a file.
Thanks. There were too many changes to the environment to allow me to pinpoint what might be the cause. I'll forget about it for now.
hi
Mac alias files open in terminal, instead of launching