dirtyhawk / stata-integration

A bundled Linux binary script integrating an already installed Stata instance into the desktop environment
GNU General Public License v3.0
28 stars 4 forks source link

Installation for a logged off user does not work with encrypted home directories #3

Closed dirtyhawk closed 2 months ago

dirtyhawk commented 7 years ago

The script features a mechanism for setting Stata as the default application for its mimetypes (do-files and such); this has to happen on a per-user basis.

To achieve this, the user has to provide a list of user names that this procedure should run for; however, it will fail for all users with encrypted home directories (through ecryptfs or the like) that are not currently logged in, as the root user can not auto-decrypt the home directories without the user's passwords.

We should find a solution to either

  1. detect this and warn that nothing will happen for such a user or
  2. ask for each user's password or
  3. find a way for root to (temporarily) decrypt and mount the directory where necessary.
dirtyhawk commented 2 months ago

Closing this as https://github.com/dirtyhawk/stata-integration/labels/wontfix, as nowadays (7 years later) full-disk-encryption is the default in all major distributions, and home-directory encryption is rarely used.