Skip to content
Commit 48951f80 authored by Christian Muehlhaeuser's avatar Christian Muehlhaeuser Committed by Kurt Hindenburg
Browse files

Fallback to home dir if initial working dir is inaccessible

In cases where the initial working is inaccessible by the current
user, we should fallback to their home directory.

This can easily be triggered by changing the working dir to an
otherwise inaccessible dir for the current user (e.g. /etc/sudoers.d
inside a root shell), followed by opening a new session.

BUG: 470262
CCBUG: 469249
CCBUG: 475116
(cherry picked from commit e4840a2e)
parent 7698910b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment