Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
"Macintosh HD" partition got partially corrupted, and Disk Utility cannot repair it. :(
A lot of files are still in good condition, I want to backup them using Ubuntu LiveCD.
But there is a problem: I don't have permission to access the files, because default ubuntu UID and
mac files UID do not match. And I cannot change the ubuntu UID in LiveCD mode.
So, I must change the UID of Mac files to ubuntu UID.
Please tell me, how to do it?
 
Last edited:

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
Most links are about changing user's UID.
I can't change the user's UID from Ubuntu LiveCD,
so I need to change the UID of files instead.
But I don't know how to do it! :(
 

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
I have solved the problem using the following steps:
1) open terminal and type sudo passwd root
2) enter new password for root
3) logout (without shutdown) and login as root
After that, you will be able to access files of other users with a different UID. :rolleyes:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.