Subject: | better arbitration between $< vs $> |
It would be nice to have more flexibility surrounding whether you want
to resolve directories based on actual uid vs effective uid. One obvious
place this occurs is in File::HomeDir::Unix, where you hard code $<.
A less obvious issue is when you "su effective_user" (no dash), the
$ENV{HOME} environment variable is not going to be the directory you
really want (or have permission to write to). Under that circumstance it
might be better to derive homedir from the passwd entry for $>.
Cheers and thanks,
Matt