#7837 Replace os.getenv('HOME') with os.path.expanduser
Closed: fixed 5 years ago by rcritten. Opened 5 years ago by cheimes.

On several occasions IPA uses HOME env var. The env var may not be available. Some platforms use a different environment variable, too. The correct way to get the home directory of the current user is os.path.expanduser


Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2755
- Issue assigned to cheimes
- Issue tagged with: bug

5 years ago

master:

  • 19b1eb1 Use expanduser instead of HOME env var
  • 2ba969d Add workaround for lib389 HOME bug

ipa-4-7:

  • b8522da Use expanduser instead of HOME env var

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata