Zone403
Posts: 2
Joined: Fri Mar 01, 2013 2:20 pm

Mounting ext4 USB with rw permissions

Fri Mar 01, 2013 2:23 pm

Hello,

I just got my Raspberry Pi, and have installed Raspbian on it.

Everything's running fine, except that when I connect a ext4 formatted USB drive to it, I can't seem to write files to it. Possibly because the file system is owned by root?

The purpose of this drive is to be permanently used as extended storage (so I want it to mount everytime the system boots).

Is there a way to get the system to get rw permissions on this drive? I prefer to have it formatted as ext4, because I don't have any Windows systems around, and am also not planning to use it on anything else but the RPi.

Any help is really appreciated.

Thanks in advance.

- Jeffrey

User avatar
lokErik
Posts: 8
Joined: Tue Jul 24, 2012 9:40 pm
Location: Sweden

Re: Mounting ext4 USB with rw permissions

Sat Mar 02, 2013 12:05 am

Well on the mount part I'd say you should look at fstab (/etc/fstab)
I assume it's a already is an topic here for editing it.

Otherwise here is some links for it.
http://www.tuxfiles.org/linuxhelp/fstab.html
http://en.wikipedia.org/wiki/Fstab

While editing it you'd of course need to be root

Cheers Christer

Return to “Beginners”