02-09-2018, 02:03 AM
Hi.
I have some files that is very critical for me (bank accounts, passwords, etc) that I cannot effort to loose, or that get in hands of a thief if the laptop gets stolen.
So I decided to create a second user profile on the same laptop, where the home folder is encrypted and the password is a really lenghty one. So that all the most critical files is now stored in that secure users home folder.
The problem I hit now is when I tries to make backup using rsync. The backup destination is on a Veracrypt volum (supposed to). But I have run into a brick wall now.
- The user don't have permission to use Veracrypt to mount.
- If I use the other user profile (admin) to mount veracrypt, it turnes out that the user doesn't have access to the mounted volume (mounted to a folder) - even if the user have permissions to the parent folder. Tried to set permission for the mounted folder so anyone can access+write, but to no help. The result is that rsync just returns an error because lack of permission.
- The file system into the Veracrypt volume is FAT so it shouldn't hold file permission.
- Tried to use su command to shift from admin user to new user, but the permission issue stay the same.
Temporary workaround:
Just copy all files into a partition that has no restrictions - and from there make a rsync backup using admin account. But this serves a security issue because I have les control what happens if files gets deleted and if possible to restore (for unauthorized).
So the question is - is it possible to add the new user to a group so that it can have access to mount and dismount?
I have some files that is very critical for me (bank accounts, passwords, etc) that I cannot effort to loose, or that get in hands of a thief if the laptop gets stolen.
So I decided to create a second user profile on the same laptop, where the home folder is encrypted and the password is a really lenghty one. So that all the most critical files is now stored in that secure users home folder.
The problem I hit now is when I tries to make backup using rsync. The backup destination is on a Veracrypt volum (supposed to). But I have run into a brick wall now.
- The user don't have permission to use Veracrypt to mount.
- If I use the other user profile (admin) to mount veracrypt, it turnes out that the user doesn't have access to the mounted volume (mounted to a folder) - even if the user have permissions to the parent folder. Tried to set permission for the mounted folder so anyone can access+write, but to no help. The result is that rsync just returns an error because lack of permission.
- The file system into the Veracrypt volume is FAT so it shouldn't hold file permission.
- Tried to use su command to shift from admin user to new user, but the permission issue stay the same.
Temporary workaround:
Just copy all files into a partition that has no restrictions - and from there make a rsync backup using admin account. But this serves a security issue because I have les control what happens if files gets deleted and if possible to restore (for unauthorized).
So the question is - is it possible to add the new user to a group so that it can have access to mount and dismount?