Why do I have TWO Library Directories

Two unique Library directories. One with lot of questionable items, including the sketchy Extensions I've been trying to get rid of forever but can't.


The one the left appears after using key sequence Shift Command G then typing in /Library/. The one on the right is from option clicking Go dropdown in Finder and then selecting Library.


The modified dates go back on files long before the date created. I've noticed some files have errors generated by them in the terminal that will reference directories using /// and some as for example "/Applications Support/" (no backslash) which the computer apparently doesn't understand and will generate an error. Crash reports often reference files with an asterisk instead of a directory like /System/Library/*/SomeFile and ls will show me directories or files that cat says don't exist.


User uploaded file

Posted on Jul 13, 2017 11:35 PM

Reply
12 replies

Jul 14, 2017 7:23 AM in response to chase_daniel

More information is required, a lot more. For example, what do you consider "questionable"? What problem are you attempting to solve?


Post the crash reports if you think they will be helpful. macOS does not use the backslash character for file names. It is reserved for other purposes.


The screenshots you posted are distorted on the Mac I am using. That might be something with my Mac, or not. To learn how to take a screenshot, edit it if necessary, and subsequently post it to this site, please read the Appendix in Writing an effective Apple Support Communities question.

Jul 14, 2017 7:29 AM in response to chase_daniel

As Eau Rouge already stated, there are many Libraries because unix is a multi-user operating system. Not only are there human users, there are processes that are run by "users." All of the users require support files stored where they can access them.

Apple's processes use /System/Library

All users can use /Library

And, individual users have their own Library in their home.


You'll have to be explicit about what you attempted in Terminal as it appears you just don't understand the directory structure and are entering invalid commands. Copy the commands you are running and the output, then paste them into a reply here.

Jul 14, 2017 8:11 AM in response to Tom Gewecke

Tom Gewecke wrote:


John Galt wrote:



The screenshots you posted are distorted on the Mac I am using.


I don't see anything wrong with them. Are you using Safari or another browser?

FWIW, although the screenshot looked normal yesterday the text looks like a condensed font today in both Safari and Firefox. If I click on the image, the image that opens looks normal. Weird.

Jul 19, 2017 9:16 AM in response to John Galt

I'm confused, my system definitely uses the \ character to indicate a space is used in a filename. I cannot type for example "DVD Player.app" and have it understood. I'd have to type DVD\ Player.app or use quotations if I wanted to write use a space.


However I recently noticed a switch to a regular space being usable for the output which Terminal will not take as input. Until a few months ago I'd never get a regular space used like below. It seems odd and extra unusual that it can spit them out but doesn't let me use them. Little bit selfish if you ask me.


Example from my 2016 MacBook Pro:

Pentium 4:~ a1$ ls -lOeR /Applications/DVD\ Player.app/

total 0

drwxr-xr-x 8 root corrupted restricted 272 Oct 29 2016 Contents


/Applications/DVD Player.app//Contents:

total 0

-rw-r--r-- 1 root corrupted restricted,compressed 2689 Oct 28 2016 Info.plist


/Applications/DVD Player.app//Contents:

total 0

-rw-r--r-- 1 root corrupted restricted,compressed 2689 Oct 28 2016 Info.plist

drwxr-xr-x 3 root corrupted restricted 102 Apr 28 17:56 MacOS

-rw-r--r-- 1 root corrupted restricted,compressed 8 Oct 28 2016 PkgInfo

drwxr-xr-x 75 root corrupted restricted 2550 Apr 28 16:58 Resources

drwxr-xr-x 3 root corrupted restricted 102 Oct 29 2016 _CodeSignature

-rw-r--r-- 1 root corrupted restricted,compressed 464 Oct 29 2016 version.plist

Jul 19, 2017 9:43 AM in response to chase_daniel

I'm not sure how you are getting the results you list using the commands (or part of a command) that you are entering.

Any of the .../DVD Player.app/ commands should result in:

/Applications/DVD: No such file or directory

I don't know of a version of bash that will handle spaces as you indicate. Are you using bash or another shell?

Can you post the full command and results?


Also, the double-slash is unnecessary; subsequent additional slashes are ignored. It only needs one slash as Contents is a sub-directory of the app package folder.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why do I have TWO Library Directories

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.