Article 5T3Z3 How to mount partitions as my user in fstab?

How to mount partitions as my user in fstab?

by
peter7089
from LinuxQuestions.org on (#5T3Z3)
I have two encrypted partitions and i use these two lines in fstab to mount them on boot:

Code:/dev/mapper/data1 /media/data1 ext4 defaults 0 2
/dev/mapper/data2 /media/data2 ext4 defaults 0 2But they are mounted as root. How to mount them as my user and group?latest?d=yIl2AUoC8zA latest?i=8OzmpjD78HI:itiKXODWEKI:F7zBnMy latest?i=8OzmpjD78HI:itiKXODWEKI:V_sGLiP latest?d=qj6IDK7rITs latest?i=8OzmpjD78HI:itiKXODWEKI:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments