Ashish Sethiashishsethi.hashnode.devยทFeb 5, 2023chdir(2) failed.: Permission denied on WSL 2Solution1. Open Powershell as Admin2. Use wsl command3. Use cd /etc then Use rm wsl.conf to remove this file4. Use sudo nano wsl.conf to re-create this file and now nano editor would open 5. Now write[user]default = root6. Press CTRL+X then Y then pr...1.4K readsWSLAdd a thoughtful commentNo comments yetBe the first to start the conversation.