path-util icon indicating copy to clipboard operation
path-util copied to clipboard

guessing home directory when HOME environment variable is not available

Open novia713 opened this issue 8 years ago • 3 comments

path-util should consider lack of HOME environment variable and guessing correctly the home directory. attach a PR at https://github.com/webmozart/path-util/pull/25 using posix_getpwuid(posix_getuid())

novia713 avatar Dec 04 '17 11:12 novia713

Should not require a HOME environment variable at all. Why is HOME relevant to running commands against a webroot? You're not writing to /root (you better not be) or any other home dir, so why does this matter?

et304383 avatar Jun 20 '18 19:06 et304383

Hello, I am getting this error when console is run from an automated script. Can't find a solution on this: https://github.com/hechoendrupal/drupal-console/issues/3892

arnaudom avatar Jul 10 '18 00:07 arnaudom

We're getting this problem when using drush 10 on AWS instances. Could we get this merged?

fede-green avatar Sep 28 '21 11:09 fede-green