Can some one please explain why the shell’s response when trying to change the permissions of a mounted drive is “Operation Not Permitted” instead of “you can’t do this while the drive is mounted!”
I was going crazy this morning trying to get access to /sdb1, and getting pissed because even Nautilus wouldn’t let me change permissions.
It suddenly hit me that the damned drive was still mounted (credit to me though, I DID try to umount earlier, but it said only root could, and didn’t think to open a command line and sudo it).
Now I have to wait 7 hours to try again. Meh.
Update: so, I tried unmounting and then changing the permissions with Nautilus again. Nope. Tried chown again. Nope.
Then I tried what just about everyone suggests with a ‘windows’ drive… NTFS-Config. Well, it couldn’t see my fat32 drives. Just ntfs. What finally worked was… drumroll… samba share.
Yeah, kinda trick-fraked the system if you will. Just set to share the whole drive and folders etc, basically giving away permissions to the network. This is obviously not the best long-term solution, and I’ll have to see if those permissions stay intact if I cut down the share permissions and add security.
But for now at least, I’m the owner of my 1/2 tb drive 🙂
Update2: apparently that didn’t work as intended. It went 1 folder deep. So, I did some more searching and found an old wiki from Ubuntu 06.04 which gave an echo script. For writing to fstab, which didn’t work in 10.10. So I messed around with the fstab for a while and FINALLY found a page which had the usage as: “/dev/hda1 /media/whatever vfat defaults,umask=000 0 0″ haha, now its perfect. Just need to go back and check my share settings… etc. will post the page I found this on in a bit. Whew!
Update3 here’s the final page where i found the correct fstab edits: http://www.art.ubuntuforums.org/showthread.php?t=302412