Executed "sudo chown -R admin /" by mistake. how do i check everything?

So "sudo chown -R admin /" was executed by mistake on an OSX 10.8.5 machine that's connected with a multiuser network. In addition to screwing up the local machine, it may have effected many other things since / includes /Network, /Volumes, possible non-Mac mounts, etc.
I was looking in system.log, and it doesn't show which files had their permissions actually changed. Is there any log on the machine where the command was executed, which lists all the files under / that chown was applied to before it was stopped? And would it show what the ownership was changed from? I'd like to go through that list and know the extent of the damage.
Thanks.

There is no log for that operation. Boot into your recovery volume and run Repair Permissions. It will take a while. You will have to re-run that command with the appropriate user on each user home directory. Some applications, particularly those that use DRM, will be scrambled and will have to be reinstalled. After repairing permissions and fixing the users, login as a user and try to run the expensive applications. Any that need reinstallation will alert you to that fact.

Similar Messages

  • Sudo chown root:admin / command information

    I would like to know if the use of this command before an OSX update would affect the operation of my computer after the 10.6.7 update. I had to use this command (suggested by vea1083) to fix a directory ownership disassociation following the iTunes 10.2.1 Update which slowed my MacBook Pro boot up speed by twice of the time. The following command was used to fix the issue and it worked successfully:
    *sudo chown root:admin /*
    Thank you for any assistance in this matter.

    Thank You for your responses, besides noticing that my thread has been moved to another forum let me give you a little insight on my decision to call in this command in the terminal window.
    It all started 1 month ago, I performed an iTunes update and to my surprise, my boot time went up from 22 seconds to almost 50 seconds. I cleared my log in items and repaired my permissions, with no success, so I had to take the sledgehammer approach and reinstall OSX and get the combo update to bring back my computer to OSX 10.6.6, after performing the reinstallation, my boot time went back to normal (22 seconds). Thinking that this was only a one time issue, when iTunes 10.2.0 came out I performed the iTunes update and again I was presented with the slow boot up issue after updating iTunes, angered by the fact that the same issue resurfaced, again I performed another permissions repair and reboot, and using my Mac in Safeboot mode failed, I had to again reinstall OSX again. Now hopeless, when the iTunes update 10.2.1 update came out, I did again the freaking update and boom again the same problem only this time I refused to reinstall OSX (I deny to see myself reinstalling OSX every single time I had to update iTunes). Fortunately I found a fix candidate in this Macrumors thread (http://forums.macrumors.com/showthread.php?t=1109887) where some MacBook Airs were reporting a similar boot time slowdown after the users performed an iTunes Update. Here was there where one user got the suggested the *sudo chown root:admin /* command:
    http://rifers.org/blogs/gbevin/2009/9/20/slowstartupshutdownsnowleopard
    I had hold off my 10.6.7 update pending a before update permissions fix and time machine backup to keep my computer from running into more troubles that I am already had.
    Thank you for your understanding and suggestions

  • How to un-check everything in a Multi-selection list box in SP2013?

    When a radio button is selected/un-selected, i would like to clear all the checkboxes that were checked in a MSLB.  I created a rule for the condition but in the action, how to create this uncheck action?
    Thank you

    yes, that's what I've done but still not working.  I even downloaded the sp, 
    InfoPath 2013 (KB2837648) 32-Bit Edition
    and it still doesn't work.  In the screen shot attached, ml prefix is for Multi-selection list box.  So, in mlImprovement, if the Communication checkbox isn't checked then set the Multi-selection list box, Communicaiton, to blank so it should
    show no selection.
    In the preview of Infopath 2013, I would check Communication in mlImprovement and then check a couple of checkboxes in mlCommunicaiton.  I then uncheck and check Communicaiton in mlImprovement and those previously checked checkboxes remains.
    I have been very frstrated working the MLSB infopath 2013.  there are other issues that does't work either.  Please advise if I'm missing a step here and there, thank you.

  • Wrong ownership on TM-- is it safe to 'sudo chown -R user Time-Machine ?

    I ran Migration Assistant by a new user "Admin" to recover the accounts of 3 users on Lion.
    After the migration, Admin owns the Time Machine history of one of the users (even though account Admin didn't even exist at the time these backups were made).
    Is it safe to run:
        sudo chown -R alex "/Volumes/Time-Machine/Backups.backupdb/Alex's MacBook/*/Macintosh HD/Users/alex"

    I ran Migration Assistant by a new user "Admin" to recover the accounts of 3 users on Lion.
    After the migration, Admin owns the Time Machine history of one of the users (even though account Admin didn't even exist at the time these backups were made).
    Is it safe to run:
        sudo chown -R alex "/Volumes/Time-Machine/Backups.backupdb/Alex's MacBook/*/Macintosh HD/Users/alex"

  • Sudo chown + chmod on system drive?

    Hello,
    Before I mess my system drive up I wanted to check if this is ok.
    For various reasons I have created a new Account that I wish to migrate to. I log in ok and can change permissions but there seem to be files on various places that I keep having to set permissions for and wish to resolve this for the whole drive.
    What I want is a way to set permissions on all non system files to add admin access as it appears it is not there for certain files
    I found the below commands which worked on my media drive but am reluctant to run it on the system drive:
    sudo chflags 0 /Volumes/System
    sudo chown 0:80 /Volumes/System
    sudo chmod 775 /Volumes/System
    sudo chmod -N /Volumes/System
    I think the one above should have the "R" in as below to do this recursivly ?
    sudo chmod -RN /Volumes/System
    I don't want to mess up the system drive so I thought I should check if this is ok or not. I think some system files need to be read only so I need to know if this will render the drive useless(I do have a full backup).
    I also see people recomend Batchmod but am again unsure if this will work or what settings to use?

    Thanks Niel,
    I have read numorous posts from yourself and V.K. relating to locked secondary drives but nothing relating to system drives and fully expected that answer. can I bother you a bit more please?
    Can I safly run those commands on some of these folders?
    system\users\olduseraccount
    System\library\application support
    System\library\audio
    I think that would solve most issues there are hundreds of folders with presets from plugins that have installed with only my old account as read write not admins?
    Thanks again Niel
    Ross

  • I am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found

    i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.

    "command not found" means ... there is no such thing.
    Has the .rpm been installed?
    http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122

  • I forgot my Mac admin Password is, How can I reset it.

    I forgot my Mac admin Password is, How can I reset it.
    My Mac OSX version is 10.7.5

    Resetting or changing an account password:
    http://support.apple.com/kb/HT1274

  • HT4061 I increase my storage on icloud by mistake, how do I cancel it and get my money back?

    I increased my icloud's storage by mistake, how can I cancel that and get my $20 back?

    iCloud Support
    http://www.apple.com/support/icloud/contact/

  • HT204053 i want to use my itune id but i set up a2nd id by mistake how do i fix it?

    i want to use my itune id on my ipad but i set up a 2nd apple id by mistake how do i fix this?

    You can sign out and sign in with another Apple ID in "Settings > iTunes & App Stores" for store pruchases and for iCloud in "Settings > iCloud" on your iOS device. Unfortunately, you cannot merge two ore more accounts so you have to decide which account do you want to use.

  • If I am using pages and deleted my page bu mistake how do I go back? I have not saved or deleted the page.

    If I am using pages and deleted my page by mistake how do I go back? I have not saved or deleted the page.

    You have deleted your page, but you have not deleted your page?
    Which is it?
    If you never saved it it is gone. If you saved it in Lion (OSX 10.7) with Pages 09 v4.1, there should be versions available when you mouse overv the document name at the top of the window.
    Peter

  • Unhappy sudo chown -R myuser /

    hi
    have mistaken performed a
    sudo chown -R myuser /
    on my macbook...
    now it claims it cannot load several kexts like:
    /system/library/extensions/system.kext/plugins/mach.kext
    /system/library/extensions/system.kext/plugins/libkern.kext
    /system/library/extensions/system.kext/plugins/unsuported.kext
    /system/library/extensions/system.kext/plugins/bsdkernel.kext
    /system/library/extensions/system.kext/plugins/iokit.kext
    /system/library/extensions/autofs.kext
    I need to repair the default permissions....but disk utility already said i cannot repair the disk due to this error:
    the underlying task reported failure on exit
    already tried to repair using the install dvd too.
    found on the web this procedure:
    Boot off the OS X CD (reboot, hold C while booting).
    The installer will load up, go to Utilities in the menu and run Terminal.
    Type df and look for the drive that has your Mac system mounted---you'll have to unmount this. On my MacBook Pro, it was /dev/disk0s2.
    Type umount /dev/disk0s2, replacing disk0s2 with whatever disk your OS lives on.
    Type fsck_hfs -r /dev/disk0s2. If you umounted the wrong thing, it will complain that you can't repair a mounted drive. Go back and umount the right thing and repeat this step.
    (they forgot to add the step to re-mount...but its ok..)
    and this one:
    Single user mode (boot with -s) and then type
    fsck_hfs -r /dev/volumename
    will any of those save me from a archive and install?
    HELP!! Those warnings cannot be good... but the system is booting and working fine till now.
    thanks

    biovizier wrote:
    Oh come on, it isn't exactly rocket science. Compare actual permissions to expected permissions and correct discrepancies, while making allowances for a few special cases. The 'chmod -R' command does {sic} move or alter any files, it just changes the permissions so I think it falls well within the realm of what "repair permissions" should be able to handle (but I'd bet it would be faster just to reinstall).
    Rocket science is not required to understand that with the "-R" option applied to the root level of the startup drive this isn't something that the permissions repair utility (in any version, old or new) is capable of repairing. That option is the command line equivalent of the Finder's "Apply to enclosed items" option, so the command affects every file in the entire filesystem hierarchy!
    At best, the utility can reset permissions only of files with entries in the receipts database -- it is the only place expected permissions are stored -- & if a user acting with superuser privileges clobbers access to that, the OS is going to make those changes, even if it means making the receipts folder unavailable to the routines that must access it. The idea that the OS should 'make allowances' for that special case is ridiculous -- it is tantamount to the idea that there should be a 'super-duper-user' built into the system that prevents users willfully acting with superuser privileges from doing anything foolish.
    Apple doesn't need an excuse to leave things as they are. They are that way because the permissions repair utility is not, never has been, & never will be the panacea for every permissions issue that a few users seem to think it should be. As far as I can tell, the only basis for that idea is a superficial examination of the name of the utility, some wishful thinking, & more than a little disregard for what is impractical, if not downright impossible, to implement in a general purpose, UNIX-based OS.
    Anytime any user invokes sudo, they should remember the time-tested warning that *with great power comes great responsibility*. In one form or another, that warning has been around for at least 2000 years. It is no less true today. There is no need for anyone to apologize for the fact that not even Apple has found a way around it!

  • My satelliteP35-S605 last the sound, i deleted it by mistake, how do i restore it.

    my satelliteP35-S605 last the sound, i deleted it by mistake, how do i restore it.

    try this Realtek Audio Driver for Windows XP
    -civicman4-
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Post all info about your laptop and version of windows. We are working on it but still do not have the powers to read your mind.

  • I have just made a $27 subscription by mistake how can I cancel it immediately get my refund ??

    I have just made a $27 subscription by mistake how can I cancel it immediately get my refund ??

    You'll see the answer in this thread:
    Refund for cancel an adobe export pdf plan.

  • I bougth account in palringo by mistake how can I cancel it??

    I bougth  account in palringo by mistake how can I cancel it??
    Please I loss 4.99$

    Do you have a backup you can try to restore from? If not, you will need to reinstall the OS.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)

  • I deleted Terminal application by mistake, how do I reinstall without Lion Disc? I downloaded via AppStore.

    I deleted Terminal application by mistake, how do I reinstall without Lion Disc? I downloaded via AppStore.

    Backup your user file folders to a external drive and disconnect.
    Make sure you have a stable, reliable, fast Internet connection, use Ethernet cable if possible.
    Hold Command R and boot from the Lion Recovery Partition, get online in the upper right corner, reinstall Lion, it will simply install Lion again and your bundled programs without touching your files or most all third party programs.

Maybe you are looking for

  • Upgrade OS

    I want to upgrade to 10.6 from 10.4.11. I have a MacBook Pro (Mid 2007, 2.4/2.2GHz), do I need to first install 10.5 or can I go directly to 10.6? Also can I use the OS disc from my new Macbook Pro to upgrade or do I have to buy both 10.5 & 10.6 OS s

  • Datatype in Oracle warehouse builder

    I try to create an external table in OWB. because some of my columns are large I like to use clob as a datatype for some of these columns. Is this possible in OWB? I could not to find it in OWB. Or is there any other way to use columns which can hold

  • SDO_TOPO_MAP.ADD_ISOLATED_NODE

    I find it difficult to understand why certain things work with Spatial and others won't! I tried different approaches with to add an isolated node. With the Java API this works fine: this.topomap.addIsolatedNode(p); where p is a Point2DD object. Well

  • Anyone got a copy of Weblogic 10.0 MP2 - 64 bit?

    I'm doing a new (ha ha!) install of OU CC&B 2.3.1 on Linux x86-64. The package is dated Jan 3 of this year. The install doc calls for Weblogic server 10.0 MP2 - 64 bit. The Oracle edelivery pages no longer offer anything but 32 bit in the "Older vers

  • Can't import JPGs created in Photoshop Elements

    I get an error upon importing. Any ideas? I use Photoshop Elements 2.0