I am trying to mount a USB HDD. A create a folder here:
My HDD is formated to
After that, I modified my
/etc/fstab and add this line:
/dev/sda1 /media/pi/HDD ext2 rw,defaults,user 0 0
Then reboot, and I can see, the mounted HDD, but the owner and the group is
Thus, any app can't write this folder. For example, Chromium cannot download anything to this folder, and I also can't use transmission to download in this folder neither.
If i check the
/media folder belongs to
My question is, how can I mount this HDD as
pi user on boot?