Overview
| Artifact ID: | e9c5392949cf2a8726c72101ebb28cd74e19f78acca31d591390b1aedd0ed8a1 |
|---|---|
| Ticket: | 9e6b569963ea497e9e623a79d5a5f92c5681bfdb
file normalize ~user fails on Windows |
| User & Date: | sebres on 2018-05-25 12:53:39 |
Changes
- icomment:
<blockquote>However when disconnected from the network then fileSystem-1.30.1 fails.</blockquote> This could have 2 reasons:<ul> <li>either the PDC cannot be accessed and not cached (so user-home could not be resolved / NetGetDCName fails);</li> <li>or the user-home is a network UNC-path (so user-home could not be accessed by NetUserGetInfo);</li> </ul> I don't see any possibility to overcome that weakness, with the exception of the current user (I mean if the user-name is the name of the current user, then it may be possible using environment variables HOMESHARE resp. HOMEDRIVE/HOMEPATH).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"