-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use my Windows profile as Linux home #2108
Comments
@gmmedia - No, you can't do it as I had heard; #449. UPDATE: BUT!!! There is another bypass. This was my /etc/passwd and /etc/shadow files;
Close all bash terminal and open Windows PowerShell, and then command "
I used editor but you could use " |
This can screw up things that rely on linux semantics and permissions. Also, your profile will be world-readable, writable, and executable to all Lx users associated with your windows user's Linux instance. |
Thank you for your answers. I have no other users on my computer, so the file permissions are not really a problem. |
@gmmedia - Well... That's somehow a cheat, not a standard, and will never be a regular feature because so many side-effects may occur, I think. @fpqc mentioned permission issue. I'd like to point other one, #2025; At this point, you might not use |
@gmmedia -- regarding permissions, for what it's worth, even if you don't think you need file permissions, your software may beg to differ :-) For example, Also, note that Linux uses file permissions to determine whether a file is an executable program. That functionality doesn't work either, in DrvFs right now. If you (or tools that you use) try to install Linux programs within your home directory, the installation may fail and/or have weird side effects. |
Oh, I of course need ssh. I see now, that not a doable way. |
@gmmedia - You said "I have all my files there" and... that was just why you wanted to "Use Windows profile as Linux home"... If so, to use https://github.com/goreliu/wsl-terminal might be a way, I think; In |
I like the terminal that comes with Windows. |
@gmmedia easiest thing to do is
so you can cd files and get to your windows user profile directory |
Sure, thats an easy way to cd to my files. |
I have certain directories (like .ssh) symlinked to my Windows user home. But this seems like a good way to screw up both the Linux and Windows user accounts. I value my ability to simply blow the Linux distro away and re-install with minimal effort. |
Hello,
is it possible to use my Windows profile folder as my home directory in the BashOnWindows?
I have all my files there an see no sense of having a second home directory.
thanks
Jochen
The text was updated successfully, but these errors were encountered: