Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Permissions #23

Closed
paul1149 opened this issue Feb 21, 2018 · 5 comments
Closed

Permissions #23

paul1149 opened this issue Feb 21, 2018 · 5 comments

Comments

@paul1149
Copy link

I'm on MX-17 Linux (debian 9.3). I move the BW appimage to the /opt directory, where it will be accessible by all users. Then in my ~/.config/bitwarden I changed the data.json file's permissions to "other: none".

Is this a good privacy scheme on a multiuser machine? Are there any other considerations? I'm assuming that in /opt, bitwarden will create a new ~/.config folder for each user in his home folder.

@kspearrin
Copy link
Member

I am not a Linux user so I am not very knowledgeable about how you should set up your user permissions. Maybe someone else here can help answer that. What I can tell you is that we store all application data in Electron's userData path, which is defined here: https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname

@paul1149
Copy link
Author

The standard program setup is to have a central location for the executable, for universal access. It then writes to the various user profiles, respecting the permissions of each profile, so users can't access each other's data. I would assume that's the case here, and would be surprised if it isn't, but because I'm the one who put the BW executable in the /opt folder, I just wanted to make sure.

@kspearrin
Copy link
Member

According to Electron's docs it's at $XDG_CONFIG_HOME or ~/.config. It seems to indicate that it would be stored per user.

@paul1149
Copy link
Author

Yes, it did seem that way. I also wasn't sure about the data file having the standard user profile permissions: other: read. That means, I think, that other users can read it. Of course, they still need the PW to get to the clear data, but I don't know if physical access is a good idea or not. That's why I changed it to "none". Maybe I'm being over concerned.

@kspearrin
Copy link
Member

kspearrin commented Feb 21, 2018

If you're concerned about read permissions for other users on the same machine, feel free to adjust them. The file contains only encrypted sensitive information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants