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?
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
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.
ASKER
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