Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Fix an application package that has turned into a folder Apps
Problem:
An application has turned into a plain folder and stopped working, e.g. after moving the application to another drive.

Solution:
Simply add the ".app" extension to the name of the folder (that used to be an application) in the Finder. Doing so will turn it back into a working application package -- provided that the ownership and permissions of all files in the package are still correct.

Background:
After I moved an application (Virtual PC 6, it was) to another drive, it stopped being an application and turned into a plain folder. I tried adding the "execute" permission to the whole folder, recursively, to no avail; it simply would not turn back into an application package. I looked all over the place for a solution but found none. After reading somewhere about bundles, however, I tried adding the .bundle extension to the folder (that used to be an application package). The folder turned into a blank file icon and, when I double-clicked it, I received an error. I then remembered the extension ".app" and tried it instead. Bingo! The folder immediately turned back into an application package, complete with the application's icon.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[10,269 views]  

Fix an application package that has turned into a folder | 4 comments | Create New Account
Click here to return to the 'Fix an application package that has turned into a folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix an application package that has turned into a folder
Authored by: notmatt on Feb 12, '04 12:27:28PM

For future reference, the "execute" permission for a folder is the ability to access it. In standard unix, folders don't have any possible execution in the normal sense of the word.



[ Reply to This | # ]
Fix an application package that has turned into a folder
Authored by: jelockwood on Feb 12, '04 01:16:56PM

> For future reference, the "execute" permission for a folder is the ability to
> access it. In standard unix, folders don't have any possible execution in
> the normal sense of the word.

You are of course correct. What a shame Apple do not let you access and use this flag on folders in Workgroup Manager to configure access to directories shared by Mac OS X Server (one could do it via the Terminal but this is not 'The Macintosh Way').



[ Reply to This | # ]
Fix an application package that has turned into a folder
Authored by: OSX_Apprentice on Feb 13, '04 09:56:41AM

That makes sense.

Nevertheless, I did say "the ownership and permissions of all files in the package" and "adding the 'execute' permission to the whole folder, recursively."

There is probably a more correct way to describe what I did, which was to ensure that all the _files_ in the application package were executable by adding the execute permission to the whole folder, recursively (i.e. the entire directory tree) that constitutes the application package/bundle.

Thanks for clarifying that fact, though. :o)



[ Reply to This | # ]
Fix an application package that has turned into a folder
Authored by: BradW on Feb 12, '04 07:37:24PM

Thanks for this hint. I downloaded and ran the QuarkXPress 6.1 Updater today and it was bugging me that it had a plain paper document icon. It ran okay, but it bugged me nonetheless. Adding the .app extension fixed the icon right away.

Brad



[ Reply to This | # ]