This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup/mkpasswd and HOMEDRIVE/HOMEPATH


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                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 429-6305 - FAX
Holliston, MA 01746


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]