[solved]Can not access external hard drive

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[solved]Can not access external hard drive

Postby Number3124 » Dec 21st, '14, 01:28

So, got a new external hard drive to back up all of my data before moving on to 4.1. After reformatting to ext4 with GParted however it seems that I accidentally changed ownership from myself to root. I've also been unable to figure out how to give myself back ownership. I've attempted to use the hardware configuration tool (while the drive was attached but the partition unmounted) to allow any user to access the drive in read-write mode, but that didn't take. I've also attempted:

Code: Select all
chown -R user.user /dev/sdb/


which returns no errors, but also fails to accomplish anything.

However,

Code: Select all
chown -R user.user /dev/sdb/backup_drive


rerturns:

Code: Select all
chown: cannot access ‘/dev/sdb/backup_drive’: Not a directory


Not sure what I'm doing wrong here. Any help is appreciated.
Last edited by Number3124 on Dec 21st, '14, 04:19, edited 1 time in total.
Number3124
 
Posts: 26
Joined: Aug 19th, '13, 03:31

Re: Can not access external hard drive

Postby benmc » Dec 21st, '14, 01:40

when you plug it in , the "device notifier applet " pops up?
you have named the drive " backup_drive"?
which desktop do you use?
benmc
 
Posts: 1218
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Can not access external hard drive

Postby Number3124 » Dec 21st, '14, 01:59

benmc wrote:when you plug it in , the "device notifier applet " pops up?


No. A Caja window pops up for the drive. The only thing I changed in the code blocks I pasted was my username and group.

you have named the drive " backup_drive"?
'

Yes.

which desktop do you use?


Mate.
Number3124
 
Posts: 26
Joined: Aug 19th, '13, 03:31

Re: Can not access external hard drive

Postby doktor5000 » Dec 21st, '14, 03:24

Number3124 wrote:I've also attempted:

Code: Select all
chown -R user.user /dev/sdb/


which returns no errors, but also fails to accomplish anything.

For one, the syntax is chown -R user:group - that's a colon in the middle. And the other thing is, you want to run this on the mounted filesystem ( probably /run/media/username/backup ) and not on the device as you tried.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can not access external hard drive

Postby Number3124 » Dec 21st, '14, 04:18

doktor5000 wrote:
Number3124 wrote:I've also attempted:

Code: Select all
chown -R user.user /dev/sdb/


which returns no errors, but also fails to accomplish anything.

For one, the syntax is chown -R user:group - that's a colon in the middle. And the other thing is, you want to run this on the mounted filesystem ( probably /run/media/username/backup ) and not on the device as you tried.


Thank you. Worked perfectly.
Number3124
 
Posts: 26
Joined: Aug 19th, '13, 03:31


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron