I want to mount 2 existing ext4 filesystems for a specific user when the user logs in and ensure that they are dismounted when the user logs off. I am running on Ubuntu 22.04. The suggestions that I found are all 10+ years old and I have been unable to get them to work.The filesystems are currently being mounted from /etc/fstab but in a way that makes them accessible to all users and I only want one user to be able to mount and access them.
↧