setup/mkpasswd and HOMEDRIVE/HOMEPATH

Larry Hall (Cygwin Developers)
Wed May 6 21:41:00 GMT 2009

On 05/06/2009, Corinna Vinschen wrote:
> > Don't we still need '/' as the ultamite default in '/etc/profile'
> > > in case all others couldn't be accessed for some reason?
> Explain "couldn't be accessed".  The default case of /home/$USER
> doesn't exist when a user starts bash for the first time.  So it
> isn't "accessible", but /etc/profile will create the directory.

Sorry, I was too slow today, though as you say, we can always make
changes if needed so I'll answer anyway. ;-)

I was basically thinking of the pathelogical case where the user
doesn't have permissions to create or access the home directory
due to some strange phenomena (somebody messed up permissions,
'/home/<user>' points to a shared drive that's inaccessible, etc.).
It's probably not a big deal but it seems like it may be less
pathelogical to have a fallback directory (i.e. '/') that's always
there and minimally accessible at least than some other less well
defined directory.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 429-6305 - FAX
Holliston, MA 01746

More information about the Cygwin-developers mailing list