terminal: sudo chflags, chown, or chmod has no effect

Something happened to the permissions on my machine during a backup where the owner of many of my files and apps was set to System. I can no longer use a bunch of my applications... I double click them and they don't launch. Fixing permissions did not help.

I went into terminal, but doing sudo chown -R on my applications folder didn't seem to do anything at all - the owners for many contained files stayed System. Setting the -v verbose flag didn't tell me anything. Sudo chflags -R nouchg still left a bunch of apps and subdirectories set to drwxrwxr-x, even the ones of which I am the owner. How can this be? Needless to say chmod -R doesn't do anything either. I also tried all these commands on my home directory, and they didn't seem to do anything there either.

So, basically, I type in these commands, I don't get any errors but they don't do anything. Anyone have any idea what I'm doing wrong?

Thanks,
Mike

Mirrored Door G4, Mac OS X (10.3.9)

Posted on Dec 19, 2005 6:04 PM

Reply
3 replies

Dec 21, 2005 8:46 PM in response to Mike K

Are these files and apps located on the same volume from which your Mac is loading OS X?

chflags -R nouchg changes the Finder's lock flag on the files (the little lock padlock that is shown in the Get Info window.) It won't change the owner or the permissions for the file.

It is completely normal for many applications to be owned by "System" with "Read only" access for others. Safari has those settings on my system and runs fine in all user accounts.

In short, I don't think that application ownership and permissions are the cause of your trouble. Have you tried rebooting in safe mode (shift key down) to force OS X to perform a file system check and repair?

You might also try launching the problem applications from a different user account.

FYI: Assuming your user account shortname is "shortname"
sudo chown -Rf shortname:admin /Users/shortname
sudo chmod -Rf 775 /Users/shortname

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.

terminal: sudo chflags, chown, or chmod has no effect

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