|Dec 4, 2008, 06:43 AM||#1|
Overriding Mac file permissions in Linux
I'm trying to recover a some data from a LaCie EDMini drive because the caddie went down. There are application solutions out there including R-Studio and Data Recovery II but they are both ~$80 solutions and don't always recover the metadata meaning I'd be renaming hundreds and hundreds of files which isn't going to happen!
Anyway, I'm using a SATA to USB adapter and I loaded up an Ubuntu Live CD to look at the file system and presto it mounted all my files. Brilliant. Only problem is that I had this EDMini in a network with Windows and Mac machines and I've been able to recover all files that were created on Windows but the files that were created on OS X (all my files...) are locked. It tells me I don't have permission to access the files.
Whilst that boosts my confidence in OS X security I do need to bypass those permissions somehow and my knowledge of Linux is poor. I tried sudo cp commands but was getting nowhere. Then decided to create a username and password that was identical to my OS X username and password to see if that worked and it doesn't.
Is anyone familar with this situation or knows how to override OS X file permissions so I can copy the files onto another drive?
Help appreciated, thanks.
|Dec 4, 2008, 07:37 AM||#2|
You might not be able to change them on the drive you might have to move them off first. Then you can use either...
chown -R YOURNAME: FOLDERNAME
which will give your linux user(YOURNAME) ownership of all of the files in FOLDERNAME
Or you can change the permissions on all the files
chmod -R 777 FOLDERNAME
You will have to be sudo for these to work correctly
|Dec 4, 2008, 12:23 PM||#3|
detz I could kiss you! chmod -R 777 has worked an absolute treat. No idea what the command actually means but it's just saved me a thousand files or more. Thanks for the tip!
|Dec 4, 2008, 02:31 PM||#5|
edit: doe anyone know why the sudo command from Ubuntu didn't work for the OP? I would have guessed it would, especially since chmod worked.
iPhone 6 | iPad Air 2 | rMBP 15 | iMac 27 | tv
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Mac File Transfers to Linux Mint using Terminal||pcfast||PowerPC Macs||6||Jan 1, 2014 12:07 PM|
|Osx file permissions||AshMan||Mac OS X Server, Xserve, and Networking||1||Sep 21, 2013 11:57 PM|
|File Sharing: I can't get permissions to work!||dmk1974||Mac OS X Server, Xserve, and Networking||2||May 30, 2013 02:09 PM|
|Question about file permissions in WordPress||olup||Web Design and Development||2||May 17, 2013 01:32 PM|
|File Permissions Confusion?||2012Tony2012||iMac||4||Dec 7, 2012 04:34 PM|
All times are GMT -5. The time now is 09:47 PM.