I have an external SSD disk i use for my backups. It is encrypted with LUKS, so i have to enter the passphrase to mount it.
Yesterday i was helping a friend with her BSOD windows laptop and set her up with Mint 21
So i wanted to use my external disk to backup her data first, i booted the live mint session to access her windows partition, plugged in my external drive, typed the passphrase and ops!
Permission denied to access the mounted drive partition.
So i take a look at the permissions, and the partition is assigned to UID 1000. I check the
id
of the live session mint user and it is 999.I ended up using other external flash drives feeling like an idiot scratching my head....
Now that i am testing, if i create a new user in the mint live session, it gets UID 1000 and i am able to mount and use the drive with no issues.
No big deal, but i would like to know, if there is a way to setup a partition so it is accessible to any UID, being an external drive, i might need to plug it on a different system in the future, and who knows if ID 1000 will be available then.
I think i used the mint disk utility to format the partition as ext4 with luks. so it is set with 700 permissions.