Link to home
Create AccountLog in
Avatar of thummper
thummper

asked on

how to rename / set permissions on mounted external drive?

Hi,
I have mounted an external usb drive and it calls itself "My Passport" which is REALLY a pain cause I cant refer to it via shell as
/media/My Passport
or
/media/My%20Passport
cant rename it via MV cause it says it is in use, if I unmount first then it cant find it to rename it. Also, fedora says its "permissions cannot be determined" but only user with write permissions seems to be root, which is also a pain. I cant seem to change the permissions on it either. (via gui of course, since I cant refer to it in shell because of the name)

Can anyone help here?
SOLUTION
Avatar of torimar
torimar
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of thummper
thummper

ASKER

Great, thanks. I was able to refer to it replacing space with ?. Id like to remount it, but my concern is that it will pop back to /media/My Passport everytime I unplug / replug it, or will it recognize the hardware and set it up the same next time?

OK, so I referred to the drive, but still having a permissions issue, and it still says "permissions cannot be determined" when I go to change them. When I try to move files to it as root I get:

mv: failed to preserve ownership for `/media/My Passport/pdfs/1.pdf': Operation not permitted
Actually, Im thinking I should have two threads, and close this one up. Thanks for the help, posting the permissions issue on a new question. Any help there would be appreciated. And if you could let me know about re-mounting like you mentioned, but have it recognized as the same device name / mounted to the same folder by default it would be appreciated. I dont want to have to do that every time I restart.