The Windows Subsystem for Linux home page is set with this command:
export LHOME=”$(wslhome)”
If you don’t have permission to access $LHOME, the home page was previously set to the last directory name which you do have permission to access.
The updated wslhome command prints the correct home page even if you don’t have permission to access it. If access is desired, you must use Administrator privilege to give yourself access to the later directories in the path.
I’m an Army Brat. Our family moved to a new army base about once per year. I learned a lot from traveling — all 50 states, Canada, Mexico, Europe. I majored in Electrical Engineering at MIT and NYU. I worked for AT&T Bell Labs as electronics engineer, supervisor, software engineer. After retiring and surviving two wives, I started Context Knowledge Systems. The focus of CKS is free open source software and context knowledge.
View all posts by Dr. Richard H. McCullough
Published
2 thoughts on “myenv package update”
Have you had any success migrating your mkr software to the Linux within MS Windows structures?
Yes. I can run all the mKR software in a Cygwin terminal window and/or a WSL/Ubuntu terminal window. The environment variables HOME, CHOME, WHOME provide convenient access to all Windows files in both environments. LHOME also provides read-only access to WSL/Ubuntu files when there is no active WSL/Ubuntu terminal window.
Have you had any success migrating your mkr software to the Linux within MS Windows structures?
LikeLike
Yes. I can run all the mKR software in a Cygwin terminal window and/or a WSL/Ubuntu terminal window. The environment variables HOME, CHOME, WHOME provide convenient access to all Windows files in both environments. LHOME also provides read-only access to WSL/Ubuntu files when there is no active WSL/Ubuntu terminal window.
LikeLike