-1

My drive has got a green label (default is blue) because I tried something with mnt and fstab on my Ubuntu.

screenshot of the issue

Can anybody help me how to change the color to default? It makes my drive not visible in the explorer in Ubuntu.

Result from cat fstab:

Edit: Thanks to everyone who answered my question. My problem has been solved after unmont drive on mnt directory.

Melebius
  • 11,431
  • 9
  • 52
  • 78

2 Answers2

3

The green background color indicates, that the directory is writeable by others. You can see it by doing:

mkdir myDir
mkdir openDir
chmod 777 openDir
ls -l

You will see, that openDir has a green background, while myDir is the "normal" color for directories.

For more info, see What do the different colors mean in ls?

Wayne_Yux
  • 4,873
-1

It might be color for owner. you can check it by dircolors | grep ow, look for ow marked in red. you can set a different color by adding a line to .bashrc. For example, to make all directories with blue text+underline and no background I added this line: LS_COLORS=$LS_COLORS:'di=4;94:ow=4;94' ; export LS_COLORS