commit | d13281f2964abc5f2e535e1613c77fc61b0c53e7 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Wed Mar 29 12:39:39 2017 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Wed Mar 29 12:39:39 2017 +1100 |
tree | 1b7b69f03a3af2441768ab77c8fa5f36ca2cdc65 | |
parent | f2742a481fe151e493765a3fbdef200df2ea7037 [diff] |
Don't check privsep user or path when unprivileged If running with privsep (mandatory now) as a non-privileged user, we don't chroot or change to an unprivileged user however we still checked the existence of the user and directory. Don't do those checks if we're not going to use them. Based in part on a patch from Lionel Fourquaux via Corinna Vinschen, ok djm@