You need to unmount /mnt/c and mount /mnt/c again with below options : sudo umount /mnt/c sudo mount -t drvfs C: /mnt/c -o metadata,uid=1000,gid=1000,umask=22,fmask=111 To automatically unmount and mount the C:\ drive (/mnt/c) , add the below lines to /etc/wsl.conf in WSL.If wsl.conf does not exist, create it. [automount] enabled = true options = “metadata,uid=1000,gid=1000,umask=22,fmask=111”Continue reading “How to modify permissions for files under /mnt/c in WSL”
Tag Archives: Linux
Basic Ansible Setup
Ansible is a simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Commercial versions are available. But most of it is free and open source. To use Ansible, we need to install it on our control machine. Installation on target machines is not requiredContinue reading “Basic Ansible Setup”