Aurora1967

Q: mach_kernel document appeared

This morning a file appeared in my documents titled, "mach_kernel". The file says it was created and edited on Sept. 29, 2013, at 2:34 pm , yet the first time it appeared in the documents file is this morning, When I went to trash it, because it had no info, Finder asked for my password before I could move the file to the trash, this is not usual and I am afraid it is some type of virus, because my computer has been slow lately. Help!

MacBook Air, OS X Mountain Lion (10.8.5)

Posted on Oct 8, 2013 7:19 AM

Close

Q: mach_kernel document appeared

  • All replies
  • Helpful answers

Previous Page 2 of 5 last Next
  • by AstroMacMan,

    AstroMacMan AstroMacMan Oct 13, 2013 8:50 AM in response to thomas_r.
    Level 2 (322 points)
    Mac OS X
    Oct 13, 2013 8:50 AM in response to thomas_r.

    Thomas, thank you!  I had the very same issue as the original poster-- the sudden appearance of the "mach_kernel" file at the root level.

     

    It just may have appeared after a recent update, although with all that one does with a computer--it takes time before seeing that part of the file structure again.

     

    I'm glad I checked here.  I have from time to time gotten sys logs or sys info or other things that suddenly appear and have simply trashed them.  Glad I didn't do that this time!

     

    Your tip took care of things!  Thanks!

  • by tigger07,

    tigger07 tigger07 Oct 13, 2013 12:12 PM in response to Kurt Lang
    Level 1 (0 points)
    Oct 13, 2013 12:12 PM in response to Kurt Lang

    thank you so much kurt for saving me! i really appreciate your help and feedback. i did what you said: put the mach file back on the root drive authenticated and repaired permissions. everything seems to be working normally, but i still can't hide the mach_kernel file. i've unhidden everything again and it still shows up there hidden or not. i have noticed the files that are normally hidden are greyed out, but the mach_kernel file is not greyed out. i'm guessing that's why it's not hidden when i hide the files. ??? i tried sabatica's trick again, but to no avail. it will not hide. i even tried restarting my computer and still the same. i guess i should just leave it alone and let it remain visible? thanks in advance for the advice!

  • by Kurt Lang,

    Kurt Lang Kurt Lang Oct 13, 2013 1:52 PM in response to Kurt Lang
    Level 8 (38,049 points)
    Mac OS X
    Oct 13, 2013 1:52 PM in response to Kurt Lang

    .

  • by Kurt Lang,

    Kurt Lang Kurt Lang Oct 13, 2013 2:03 PM in response to tigger07
    Level 8 (38,049 points)
    Mac OS X
    Oct 13, 2013 2:03 PM in response to tigger07

    A bug in the 10.8.5 update changed a flag on the kernel file. Enter this in Terminal:

     

    sudo chflags hidden /mach_kernel

     

    It will then ask for your admin password to complete the command. After that, the kernel should be hidden.

  • by nbar,

    nbar nbar Oct 13, 2013 2:10 PM in response to thomas_r.
    Level 5 (6,980 points)
    Oct 13, 2013 2:10 PM in response to thomas_r.

    Mine is visible as well since the supplemental update (though I didn't notice since I set finder to show hidden files/folders). Just changed the flags. Odd.

     

     

     

    Just submitted a bug report.

     

    Message was edited by: nbar

  • by Elaine Morrison,

    Elaine Morrison Elaine Morrison Oct 13, 2013 2:43 PM in response to Kurt Lang
    Level 1 (0 points)
    Oct 13, 2013 2:43 PM in response to Kurt Lang

    Do you really have to repair permissions and all that stuff? I just hid it with 1 line as per Thomas. It's an admin file anyway, if I recall its permissions.

  • by Krazykreatives,

    Krazykreatives Krazykreatives Oct 13, 2013 3:02 PM in response to thomas_r.
    Level 1 (0 points)
    Oct 13, 2013 3:02 PM in response to thomas_r.

    Works on mine! 10.8.5 MBPR  Thanx a bunch!!!

    This never happened before and I was gonna delete it. The system asked for a password and I thought I should have googled this before anything unreversable happened.

     

    Thanx! Thamas

  • by Kurt Lang,

    Kurt Lang Kurt Lang Oct 13, 2013 2:55 PM in response to Kurt Lang
    Level 8 (38,049 points)
    Mac OS X
    Oct 13, 2013 2:55 PM in response to Kurt Lang

    .

  • by Kurt Lang,

    Kurt Lang Kurt Lang Oct 13, 2013 2:58 PM in response to Elaine Morrison
    Level 8 (38,049 points)
    Mac OS X
    Oct 13, 2013 2:58 PM in response to Elaine Morrison

    Do you really have to repair permissions and all that stuff?

    Not if you didn't move the file, as tigger07 did when he put it in the trash. As soon as he did that (and needed to enter his admin password to move the file), the file ownership permissions would have been changed to 501 (the user), rather than 0 (the OS).

  • by Elaine Morrison,

    Elaine Morrison Elaine Morrison Oct 13, 2013 4:06 PM in response to Kurt Lang
    Level 1 (0 points)
    Oct 13, 2013 4:06 PM in response to Kurt Lang

    thx

  • by EvanG123,

    EvanG123 EvanG123 Oct 13, 2013 10:31 PM in response to hurgaaA
    Level 1 (0 points)
    Oct 13, 2013 10:31 PM in response to hurgaaA

    Thank you for sharing this. I too saw the file appear as soon as updating to 10.8.5. This came along with a host of other serious issues including external drives being randomly disconnected with out being "properly ejected."

  • by mark1179,

    mark1179 mark1179 Oct 14, 2013 5:57 PM in response to Aurora1967
    Level 1 (0 points)
    Oct 14, 2013 5:57 PM in response to Aurora1967

    I just noticed this file today. Since it said kernel I said I better google it. Trying to hide the file through usual means didnt work for me. The only thing that worked was the sudo command mentioned above by Kurt. Thanks for the tip.

  • by Sazza,

    Sazza Sazza Oct 17, 2013 6:21 AM in response to Kurt Lang
    Level 1 (4 points)
    Notebooks
    Oct 17, 2013 6:21 AM in response to Kurt Lang

    I also have the mach_kernel file showing in my Macintosh HD folder, in between Library and System.

     

    But presumably Apple will correct the error in showing this normally hidden file in their next update?

     

    Just thinking best if I don't do anything, unless it's in the wrong place.

     

    Sarah

  • by Kurt Lang,

    Kurt Lang Kurt Lang Oct 17, 2013 6:54 AM in response to Sazza
    Level 8 (38,049 points)
    Mac OS X
    Oct 17, 2013 6:54 AM in response to Sazza

    It's actually a very simple error. Apple updated the kernel, but the script didn't set the hidden flag back on. Since it's not set as a hidden file, it will stay visible even if the system is correctly set to hide invisible items.

     

    All you have to do is run the command I noted above to reset the flag where it should be.

     

    You can leave it if you want. It doesn't hurt or change anything for it to be visible. You just have to remember to leave it alone.

  • by istrico,

    istrico istrico Oct 17, 2013 1:03 PM in response to Aurora1967
    Level 1 (0 points)
    Oct 17, 2013 1:03 PM in response to Aurora1967

    Same issue here, to the date as well. I also noticed an "installer log file."

Previous Page 2 of 5 last Next