Dear all,
Me (account A) and my wife (account B) use the same computer (we switch accounts whenever it's needed) and both accounts are admin.
We sometime connect a USB external drive of the computer (not necessary the same every time).
User A plugs a USB drive.
Later, user B switches to her account, the USB external drive then cannot be red unless the user unplugs et re-plugs it.
I understand that it's designed like that for a security reason, however my computer is at home, my wife and I are the only users.
I would like to know if there is a way to tweaks things in order to make a USB external drive auto-mounted by user A readable by user B (without unpluging / pluging again).
Thanks very much for your kind help.
How users A and B can access the same USB drive ?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How users A and B can access the same USB drive ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- AZgl1800
- Level 20
- Posts: 11183
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How users A and B can access the same USB drive ?
I'm not a guru,
but I would just set the USB drive up as a Media accessed drive for each user.
the fact that it is available by another user, who is not logged on, should not be a problem.
This assumes, that the other user
but I would just set the USB drive up as a Media accessed drive for each user.
the fact that it is available by another user, who is not logged on, should not be a problem.
This assumes, that the other user
has logged off
Re: How users A and B can access the same USB drive ?
Thanks very much for your answer.
The thing is that we don't necessarily log off : I use the computer for a while, then put it on sleep, then my wife would wake the computer up and log into her account (so my account is still open).
I'm still digging.
The thing is that we don't necessarily log off : I use the computer for a while, then put it on sleep, then my wife would wake the computer up and log into her account (so my account is still open).
I'm still digging.
Re: How users A and B can access the same USB drive ?
Here is what you could do
1) Have a common user group for both accounts ( create a new one or use an existing one, that's up to you )
2) Make sure that both users belong to that common group ( ideally have that common group as primary group )
3) If needed : change all files (of the USB drive) group owner to that group .
You could simple add the "other" user to the existing group that already own those files
4) If needed : Add whatever permission you want to that group
5) You may have to change umask to fit your needs
Remarks : you can start with a small directory, using 2 new accounts as test to see and then apply the final solution to your entire USB drive once you're satisfied with your first test.
Notes : If the common group is not a user primary group, then any new file created by that user will not belong to the common group.
Also becarefull when change primary group of a user : the user may lose some access to some existing files
1) Have a common user group for both accounts ( create a new one or use an existing one, that's up to you )
2) Make sure that both users belong to that common group ( ideally have that common group as primary group )
3) If needed : change all files (of the USB drive) group owner to that group .
You could simple add the "other" user to the existing group that already own those files
4) If needed : Add whatever permission you want to that group
5) You may have to change umask to fit your needs
Remarks : you can start with a small directory, using 2 new accounts as test to see and then apply the final solution to your entire USB drive once you're satisfied with your first test.
Notes : If the common group is not a user primary group, then any new file created by that user will not belong to the common group.
Also becarefull when change primary group of a user : the user may lose some access to some existing files
Re: How users A and B can access the same USB drive ?
Hi,
If your wife and you are so close (just speaking of computers here ), why don't you just have one common account ?
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)