Skip Menu |

This queue is for tickets about the File-HomeDir CPAN distribution.

Report information
The Basics
Id: 21383
Status: new
Priority: 0/
Queue: File-HomeDir

People
Owner: Nobody in particular
Requestors: MSISK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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