Ok, so I am lost here. I wish to be able to mount a file I created without root credentials.

I created a file and attached it ( if this is what its called ) to /dev/loop0. "losetup /dev/loop0 /path-to-file"

I then formatted this with luksFormat, created a file system in it and opened it with luksOpen. I could then mount this new /dev/mapper/what-ever-I-called-it to a mount point.

My problem is that now whenever I wish ti put anything in this encrypted container, I must issue a few commands as root to set it up...I do not wish to do this.

How can I get it so myself as a user can maybe place someting in a script to get this to be setup and mounted without the future use of the root password?