Skip to content
  • Christian Muehlhaeuser's avatar
    Fallback to home dir if initial working dir is inaccessible · e4840a2e
    Christian Muehlhaeuser authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    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
    e4840a2e