I have exactly the same problem as in Cant open second hard disk "permission denied" except that my disk has ext4 filesystem. (don't have enough "reputation" to comment there)

To repeat the problem: I can only write as root.

The corresponding line of /etc/fstab is atm

UUID=<long stuff> /mountpoint ext4 defaults,rw,user,auto,exec 0 2

Linked answer doesn't work since mount -t ext4 doesn't have -o uid=<...>,gid=<...> option.

  • 1
    As far as i know you need to chown your entire disk (while it's mounted) to your user/group. sudo chown -R user:group /mountpoint – Mustafa Yılmaz Nov 23 '17 at 7:32
  • Try changing your fstab line to UUID=<long stuff> /mountpoint ext4 errors=remount-ro 0 1 and tell me if this works. After a reboot the disk should already be mounted then at /mountpoint – Videonauth Nov 23 '17 at 7:35
  • @MustafaYılmaz works fine, except that it doesn't remember this after reboot. – Everyday Astronaut Nov 23 '17 at 7:44
  • @Videonauth I tried it, did not help. – Everyday Astronaut Nov 23 '17 at 7:46
  • Please provide the ouput of ls -l /mountpoint (you can obfuscate file names). – fkraiem Nov 23 '17 at 7:49