How can I remove the background color for the sticky bit. LSCOLORS looks like this export LSCOLORS="Gxfxcxdxbxegedabagacad"
Edit: As suggested I tested
LSCOLORS="" ls but the colors are still there.
Are you sure you need that? It seems wrong to me.
Setgid on a directory means that files created in that directory will have the group from the directory, not the user's primary group, so that's quite useful.
But setgid on a normal, non-executable file doesn't do anything useful.
I would suggest removing setgid from all files (but leave it on directories) like this:
Or you could force a set of known permissions on files and directories using:
And next time, rather than using
so that it only affects the directories.
I think the idea is that the yellow and black highlighting is meant to make you look carefully at them, to make sure they are the ones you expect, and not some new file that was installed by a malicious user or a rootkit or something.
to see some examples of programs that use those permissions.
On my system it lists
For example, the
means that the
If after all that, you still really want to change the colors, try something like this:
Where you put it depends on your setup, but at the end of ~/.zshrc should do it.
For some reason, removing the