Commit 957271f
Resolve configdir to handle potential issues with inaccessible symlinks
There are some use cases where a user might have a symlinked home directory
(e.g. a corporate home directory may be symlinked to a disk with limited
space, and is only accessible to other users via a real path to the
underlying disk).
Resolving configdir before any mkdir or access checks should avoid this
problem.
Co-authored-by: Greg Lucas <[email protected]>1 parent 42b88d0 commit 957271f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
529 | 531 | | |
530 | 532 | | |
531 | 533 | | |
| |||
0 commit comments