Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

After activating Windows 10 with product key my vifm in WSL is unable to create file/directory or save files after editing. Before activating it was ok. I can create file with touch or directory with mkdir on command line, but I can not in vifm, therefore I think problem is with vifm and not with WSL. I tried to deactivate Windows back, reinstall vifm but without success. How to make vifm create files again?

by

Are you using vifm binary for Windows or did you install it inside WSL? Are you trying to create files inside WSL or outside of it? I'm not sure if things will work if you mix Windows app with WSL file system or vice versa.

by

I installed vifm inside WSL. I am trying to create files outside WSL. It worked before Windows product key activation.

by

So vifm must be still doing things the way it was doing them before activation. It's something else that has changed (maybe an updated was applied). Maybe try reporting this to WSL developers on their GitHub.

1 Answer

0 votes
by

I'd like to add that things are working just fine in 2021 :) I tested on a WSL2 instance on Windows 10 Version 20H2, OS build 19042.804, where the following file operations are working as intended:

  1. cd to a Win dir (/mnt/c/users/username/Desktop for the test)
  2. mkdir new dir ==> this gets me two new folders
  3. dd on the new/ folder: folder deleted, but not added to Windows Recycle folder
  4. u key did undo the deletion, restoring the new/ folder along with its contents
  5. touch new_file is working as intended as well

My Windows OS is activated when I do the test.

...