LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Automounted USB drive is owned by root and not writable (https://www.linuxquestions.org/questions/linux-software-2/automounted-usb-drive-is-owned-by-root-and-not-writable-933576/)

eponymous 03-09-2012 04:56 AM

Automounted USB drive is owned by root and not writable
 
Hi,

I've created an ext3 parition on a USB flash drive using:

Code:

mkfs.ext3 /dev/sdc1
I then plug the drive in and it gets mounted to /media automatically but for some reason has the following privileges so I can't write to it as a normal user:

Code:

drwxr-xr-x 3 root root 4096 Mar  9 10:18 CZILLA_IMAGES
Does anyone know how to get it to mount so that I can write to it as a normal user?

Thanks.

honeybadger 03-09-2012 06:13 AM

Hi eponymous,

This would be the normal behavior. If this pen drive is not permanent then you would need pmount. More information here http://en.wikipedia.org/wiki/Mount_(Unix)
Hope this helps.

eponymous 03-09-2012 06:25 AM

Quote:

Originally Posted by honeybadger (Post 4622621)
Hi eponymous,

This would be the normal behavior. If this pen drive is not permanent then you would need pmount. More information here http://en.wikipedia.org/wiki/Mount_(Unix)
Hope this helps.

Hmm if this is true then why is it when I plug in a pendrive which is NTFS or FAT32 it works fine?

pauliolio 03-12-2012 12:12 AM

An excellent point :)
Had exactly the same problem myself the other day...


All times are GMT -5. The time now is 10:29 AM.