myenv package update

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.

2 thoughts on “myenv package update

    1. 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.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s