LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03: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, 03:40 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

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

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

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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, 10: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:	23
Size:	128.4 KB
ID:	22775 Click image for larger version

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

Last edited by agelesseon; 08-16-2016 at 01:12 PM.
 
Old 08-16-2016, 10:40 AM   #5
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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, 11:48 AM   #6
Ragnathok
LQ Newbie
 
Registered: Oct 2013
Location: Québec, Canada
Distribution: Manjaro, Ubuntu, Arch
Posts: 25

Rep: Reputation: 26
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 11:54 AM.
 
1 members found this post helpful.
Old 08-17-2016, 10: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, 02: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 11:15 AM.
 
Old 08-17-2016, 02:19 PM   #9
Ragnathok
LQ Newbie
 
Registered: Oct 2013
Location: Québec, Canada
Distribution: Manjaro, Ubuntu, Arch
Posts: 25

Rep: Reputation: 26
No problem!
 
  


Reply



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 06:42 AM
How to recover deleted files in linux ramecare Linux - Server 20 07-20-2012 03:20 AM
How to recover .sql files in Linux sux01 Linux - General 2 10-26-2010 11:02 AM
Using linux to recover windows files doza General 8 07-17-2009 04:19 PM
Recover Files in Linux??? How to??? DeathGoth Linux - Software 1 10-17-2004 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration