Windows 2000 - HOMEDRIVE,HOMEPATH vs. USERPROFILE
Hi Derek, I ran tests on Windows 2000 and here's what I've learned so far: * User accounts have two flavors: Local and Domain * Both user account types support local or network user profiles * Both user account types support Home folder options * User profile type (local vs. network) seems irrelevant to CVS because network profiles are copied to a local drive and USERPROFILE always points to the local copy located in the machine specific profile root directory. * Home Folder options are undefined, local folder, network folder and these are visible to CVS as follows: Home Folder Environment Variables undefined %HOMEDRIVE%%HOMEPATH% set to %USERPROFILE% HOMESHARE does not exist local folder%HOMEDRIVE% set to local folder drive, no path %HOMEPATH% set to local folder path, no drive HOMESHARE does not exist network folder %HOMEDRIVE% set to network drive %HOMEPATH% set to \ %HOMESHARE% set to network folder * Network folder values look like: \\ServerName\ShareName\OptionalPath Based on these observations, how do Windows and UNIX differ to CVS? UNIX user profile (.profile,.bash_profile) files are always in $HOME. UNIX user profile changes are effective AND committed when changed. Windows user profile is always local and independent of Home Folder. Windows Home Folder is synchronized with the user profile only when: Home Folder is undefined Home Folder local path == %USERPROFILE% Windows user profile changes are effective when changed and committed ONLY when user the logs off. Best regards, Conrad Pino ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
RE: Windows 2000 - HOMEDRIVE,HOMEPATH vs. USERPROFILE
Hi Derek, A few more observations follow: From: Conrad T. Pino [mailto:[EMAIL PROTECTED] Based on these observations, how do Windows and UNIX differ to CVS? UNIX user profile (.profile,.bash_profile) files are always in $HOME. UNIX user profile changes are effective AND committed when changed. UNIX $HOME changes are effective AND committed when changed. Windows user profile is always local and independent of Home Folder. Windows Home Folder is synchronized with the user profile only when: Home Folder is undefined Home Folder local path == %USERPROFILE% Windows user profile changes are effective when changed and committed ONLY when user the logs off. The last sentence above needs clarification as follows: Windows local user profile changes are effective AND committed when changed. Windows network user profile changes are effective when changed and committed ONLY when user the logs off. Windows network user profile commits may not persist as expected when used on multiple machines: Login to workstation one, copy network profile to local drive. Login to workstation two, copy network profile to local drive. Modify user profile on workstation two. Logoff workstation two, copy local drive to network profile, network profile has workstation two modification. Logoff workstation one, copy local drive to network profile, workstation two modification to network profile is lost since the Microsoft help file says: If you use a roaming profile on more than one computer simultaneously, it will preserve the settings from the last computer that logs off. Windows Home Folder changes are effective AND committed when changed. Conrad ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
Re: Windows 2000 - HOMEDRIVE,HOMEPATH vs. USERPROFILE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It sounds to me like we probably want to ignore USERPROFILE, then, and just use the home dir settings. How does the home directory get set to something other than undefined in your examples? Is there an API to read it from the system or must all applications rely on malleable environment variables for this information? Cheers, Derek -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCnK6RLD1OTBfyMaQRAnWqAKC/KHPySouyvYPIcS+eCfXAOnRXWgCfbjT0 whrOdCPGQpoGKGn1J85SME8= =4gdk -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs