I'm trying to figure how to mount an ext4 formatted external HD with permissions for a specific user using autofs, but I'm only able to mount it as owned by root. I have read that ext4 mount points use the filesystem information to determine permissions so I have tried 2 things:
- Configure autofs to mount the partition under a directory owned by the target user
- Write a udev rule to set the owner of the device
I know there's the option of running bindfs, but I'd like to understand how does mount handle filesystem permissions when mounting an ext4 formatted device.