"usr" folder in Applications folder?

Today I noticed a folder inside my Applications folder called "usr". Inside it are other folders: "bin" "lib" and "share". I got info and see that it was created last September and modified on Jan 5th this year. Since its name has no cap, I was wondering if this is supposed to be an invisible folder. Therefore, I'm afraid to just toss it. I did a Spotlight search, and the only place that this folder exists is inside the Applications folder on my boot drive and in the Applications folder on my external cloned backup of that boot drive.

Can I delete this folder?

MacPro 3.0GHz, Dual Quad, 8GB RAM, 250GB+750GB HD, Mac OS X (10.5.5)

Posted on Jan 14, 2009 9:09 AM

Reply
16 replies

Jan 14, 2009 1:20 PM in response to Matt Clifton

Yes. It says : drwxr-xr-x@ 12 root wheel 408 Nov 9 22:01 usr

Like I said, I did a Spotlight search and the only copies I found of the usr folder were in the Applications folder of the boot drive and the external clone. None found anywhere else.

I have been using SuperDuper to update the backup clone each Monday. Since the last modified date was on a Monday, I suspect that might have something to do with it. I just never noticed it before in the Applications folder.

Jan 14, 2009 9:16 AM in response to Joe Vincent

Hi Joe

The "usr" folder should actually live in the root of your hard drive. I'd be surprised if it wasn't there and your system was still working correctly. It's possible that you're either looking at an inadvertent copy, or a link to the original folder. Open up Terminal and type each of these two lines, hitting the return key after each line:

cd /
ls -al

Hopefully you should see a "usr" folder there. Now type:

cd Applications
ls -al

At the end of the listing, you'll see your errant usr folder. Does its entry look like this:

drwxr-xr-x@ 11 root wheel 374 Jan 12 23:49 usr

Or is there an "l" in place of that "d" at the start, ie, something like this:

lrwxr-xr-x@ 11 root wheel 374 Jan 12 23:49 usr -> /usr

Matt

Jan 14, 2009 1:35 PM in response to Joe Vincent

It sounds like you do have two copies. The hidden one won't show up in a Spotlight search. The OS X system certainly won't be using the Applications/usr folder for anything. One way of dealing with this is to temporarily rename that new folder - for example, call it "usrtemp" or something, and then work for a few days as you normally do and see if anything breaks. If not, you can feel free to remove that folder.

Matt

Jan 14, 2009 2:45 PM in response to Matt Clifton

Matt,

Repairing disk permissions did not help.

I noticed that the Sharing portion of the Get Info window on the "usr" folder has "wheel" as one option. "system" has Read&Write, "wheel" has Read Only, and "everyone" has Read Only.

I have no users named "wheel." The users in my Accounts panel are myself, my son, "Trouble"(for booting when I can't boot into my account for some reason), and Guest. The first three have admin privileges. Guest does not.

Is the system trying to protect itself from me renaming the usr file, thus thwarting my efforts?

In your earlier post you said that I should not rename the usr folder "directly within your hard drive" because it will cause problems. I looked at the external clone of the boot drive. I see folders on that hard drive that are obviously invisible if on the boot drive - folders like "dev" "home" and "net." Since it is a clone of my boot drive, why do I not see a "usr" folder on that hard drive like the other invisible folders? Where is the invisible usr supposed to be?

Jan 14, 2009 3:30 PM in response to Joe Vincent

wheel is a default OS X group name. Those are the correct permissions for the usr folder. As mentioned, the copy in your Applications folder is odd.

The usr folder should be located at the root directory, so you should see it listed with a
ls -al /
or you can "Go to Folder" in the Finder and type in /usr for the folder. It should open up a window inside the /usr folder.

If you don't see a usr folder at the root directory (which is what the previous poster meant by "directly on your hard drive"), I'm not sure how everything is functioning properly.

Jan 14, 2009 3:50 PM in response to Barney-15E

Hi, Barney. Thanks for helping. I just did what you said with "Go To Folder" and it opened a usr folder which is located on my hard drive. So I obviously have two usr folders on my boot drive. One is invisible at the root level and the other is visible in the Apps folder.

Matt had suggested renaming the one in my Apps folder to see if anything changed. The Finder will not let me rename it. I suspect that it will also not let me delete it either. I think I see where this is going. I will have to boot from my external clone in order to remove the bogus usr folder. I guess I should remove the bogus usr folder from the external clone first, but the question I have in my most recent posting is: why don't I see a usr folder on the hard drive of the external clone like I see the dev, home and net folders?

Jan 14, 2009 4:28 PM in response to Joe Vincent

If you are an admin user, you can change the name in the terminal:
sudo mv /Applications/usr/ /Applications/oldusr
sudo means super user do and mv stands for move. Move is the rename command since, in unix, the file name is actually the entire path. To rename, you move the file/folder to a new location.

The sudo command will ask for your admin password and won't echo the characters. Be careful with sudo as it gives you immense power.

Jan 14, 2009 8:31 PM in response to Barney-15E

I'm not very comfortable using Terminal (that's why I use Macs!) so I did this: I deleted the extra usr folder that was in the Apps folder on the external clone. I restarted from that external clone. Then I deleted the extra usr folder from the Apps folder on internal drive. Then I restarted from the internal drive.

So far everything seems to be working fine. I still have no idea why or how the additional usr folder came to be, but I suspect SuperDuper - or CarbonCopyCloner which I used previously.

Jan 16, 2009 7:16 PM in response to Barney-15E

According to the elgato experts, that usr folder was not installed by EyeTV. Whatever the case, without it, EyeTV will not launch. Most of the files in the enclosed folders have "xml" as part of their file names. Perhaps this usr folder is necessary for EyeTv to function, but belongs somewhere else in my Mac's system. I don't know. I'm just leaving it back in my Applications folder so that everything "works normally."

As far as I can tell, it wasn't harming the computer's operation before I deleted it. It had evidently been there for several months before I discovered it. The only problems I've had since changing to OS 10.5 is the "blue screen of death" issue, but I've discovered that I can avoid that by downloading software updates and installing them separately rather than letting Software Update do it. The EyeTV software was installed after the blue screen problem began.

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.

"usr" folder in Applications folder?

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