It needs to be an existing directory with mode 0700 and owned by the user. (cherry picked from commit 42f4dbd1)