Microsoft introduced WSL to win10, and I believe many people also use the Ubuntu system in WSL. Then when ls the windows directory, there will be a dazzling background color:
This makes people very dizzy, anyway I can't stand it~~~
In fact, this background color means that Others users have write permissions, and you can manually change the permissions to chmod 775, then the background color will disappear.
Of course this is not a good way. You can replace the background color of the folder by changing the configuration file.
vim ~/.dircolors
Find OTHER_WRITABLE and modify it to be the same as the default: 01;34
Don't forget to edit
source ~/.bashrc
Then the background color will be gone:
Recommended Posts