06-04-2017, 03:37 AM
Just experimented a bit. Made mount point on system (/mnt/sdc), then mounted FAT32 USB stick to it (sudo mount /dev/sdb1 /mnt/sdc). Sure enough, I could not write to it just like you experienced.
Mount point was owned by root. I first unmounted the USB, then ran command to change ownership of the mount point to myself. Remounted USB with same command above and it showed owned by root again and would not let me write to it.
Conclusion:
Because mount command must be run as root (with "sudo"), ownership when mounted ends up being root. I knew beforehand that likelihood of changing ownership of mount point without anything mounted to it would probably not make any difference, but did it anyway to make sure. Because FAT32 file systems won't take Linux permissions you can't run chown command on it after mounting. So, mounting at that location in file system will result in you not being able to write to USB.
System is setup so that if you mount under /media/username or /home/username you will be the owner and be able to write to USB. Best to just let system mount it to /media/username when you click on its entry under "Devices" in file manager. That way you'll avoid permissions problems.
P.s.
If your USB had an ext4 formatted partition, you would be able to mount it under /mnt directory and change ownership to yourself.
Mount point was owned by root. I first unmounted the USB, then ran command to change ownership of the mount point to myself. Remounted USB with same command above and it showed owned by root again and would not let me write to it.
Conclusion:
Because mount command must be run as root (with "sudo"), ownership when mounted ends up being root. I knew beforehand that likelihood of changing ownership of mount point without anything mounted to it would probably not make any difference, but did it anyway to make sure. Because FAT32 file systems won't take Linux permissions you can't run chown command on it after mounting. So, mounting at that location in file system will result in you not being able to write to USB.
System is setup so that if you mount under /media/username or /home/username you will be the owner and be able to write to USB. Best to just let system mount it to /media/username when you click on its entry under "Devices" in file manager. That way you'll avoid permissions problems.
P.s.
If your USB had an ext4 formatted partition, you would be able to mount it under /mnt directory and change ownership to yourself.
Try Linux Beginner Search Engine for answers to Linux questions.