LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2016, 04:07 PM   #1
agelesseon
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Rep: Reputation: Disabled
Linux Permissions - Recover Files


So I work at an IT company, and a customer came in with a macbook that wasn't working. Taking the most cost effective course of action will mean simply recovering the files from the hard drive. I've connected it to another computer running linux mint. The problem is that now its saying that I don't have the right permissions to copy the clients user folder to the clients usb drive. I'm pretty new to linux, and nobody else in my office really knows what to do (we deal mostly with windows). My guess is that I either need to a) run some kind of chown cmd (tried this a little bit, but I don't think I entered it correctly) or b) install an app that will do a simple click and drag/edit.

Can anybody help me?
 
Old 08-15-2016, 04:40 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 261

Rep: Reputation: 101Reputation: 101
First are you the root user?

it a matter of cp -aR /directory /<to mounted usb>
 
Old 08-15-2016, 05:17 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,871

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
With Mint you would use 'sudo' to prefix the copy command you use which gives root privileges. That is if Mint is properly installed and has the default user with sudo permissions. I would expect you get that error when copying to the usb drive? Or do you also get it when trying to access the files you want to copy?

Some info on the subject at the link below. Also, do you have the hfsplus software installed which enables access/write to a mac fs? I seriously doubt it is installed by defaults.

https://help.ubuntu.com/community/hfsplus
 
Old 08-16-2016, 11:07 AM   #4
agelesseon
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Lets start from the beginning. Just guide me to the next step you "experienced" people would take.

I'm including some basic screenshots that I took trying to access the clients files. Oh, and please be kind, linux noob here.

https://goo.gl/photos/mu1DGvPmdjWWS32T8

Click image for larger version

Name:	Screenshot from 2016-08-16 08:51:52.png
Views:	9
Size:	128.4 KB
ID:	22775 Click image for larger version

Name:	Screenshot from 2016-08-16 08:52:15.png
Views:	11
Size:	138.7 KB
ID:	22776

Last edited by agelesseon; 08-16-2016 at 02:12 PM.
 
Old 08-16-2016, 11:40 AM   #5
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Xubuntu, Manjaro
Posts: 745
Blog Entries: 3

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Well, you are pretty much forced to use a terminal to do this. I have done this in the past on a broken Mac, and this is pretty much how I got access to the files:
http://askubuntu.com/questions/33231...s-to-os#332317

Best regards,
HMW
 
Old 08-16-2016, 12:48 PM   #6
Ragnathok
LQ Newbie
 
Registered: Oct 2013
Location: Québec, Canada
Distribution: Manjaro, Ubuntu, Arch
Posts: 16

Rep: Reputation: 11
Running the file manager as root could allow you to view and copy the contents of those directories with a graphical interface since the root user can do pretty much what he/she wants.

The file manager Mint uses is called Nemo. To run it as root, open either a terminal or the cinnamon menu at the bottom left of the screen and type

Code:
gksudo nemo
Then, navigate to the mounted Macbook and you should be able to view and copy the contents.

Last edited by Ragnathok; 08-16-2016 at 12:54 PM.
 
1 members found this post helpful.
Old 08-17-2016, 11:15 AM   #7
agelesseon
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ragnathok View Post
Running the file manager as root could allow you to view and copy the contents of those directories with a graphical interface since the root user can do pretty much what he/she wants.

The file manager Mint uses is called Nemo. To run it as root, open either a terminal or the cinnamon menu at the bottom left of the screen and type

Code:
gksudo nemo
Then, navigate to the mounted Macbook and you should be able to view and copy the contents.
Currently trying this, will let you know how it goes.
 
Old 08-17-2016, 03:02 PM   #8
agelesseon
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ragnathok View Post
Running the file manager as root could allow you to view and copy the contents of those directories with a graphical interface since the root user can do pretty much what he/she wants.

The file manager Mint uses is called Nemo. To run it as root, open either a terminal or the cinnamon menu at the bottom left of the screen and type

Code:
gksudo nemo
Then, navigate to the mounted Macbook and you should be able to view and copy the contents.

This worked wonderfully, thanks for your help. I appreciate it.

Last edited by agelesseon; 08-18-2016 at 12:15 PM.
 
Old 08-17-2016, 03:19 PM   #9
Ragnathok
LQ Newbie
 
Registered: Oct 2013
Location: Québec, Canada
Distribution: Manjaro, Ubuntu, Arch
Posts: 16

Rep: Reputation: 11
No problem!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to recover files from a HD Linux can not mount Gerard57 Linux - General 10 03-09-2013 07:42 AM
How to recover deleted files in linux ramecare Linux - Server 20 07-20-2012 04:20 AM
How to recover .sql files in Linux sux01 Linux - General 2 10-26-2010 12:02 PM
Using linux to recover windows files doza General 8 07-17-2009 05:19 PM
Recover Files in Linux??? How to??? DeathGoth Linux - Software 1 10-17-2004 04:35 PM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration