I have tried How to change the color of different files in ls's solution to apply color changes in ls. I have observed that they do not apply in folders that has a root group owner?
For example a .json file differs in color in a root folder and a user's home folder.
~/folder/ > ls -l
-rw-rw-r-- 1 alper alper alper 0 2021-06-16 06:35 hello.json
~/mnt/ > ls -l
-rwxrwxrwx 1 alper root alper 0 2021-06-16 06:38 alper.json
Related question: https://superuser.com/q/1598934/723632, which has a solution only for folders.


ls -lone of those file must be x (executable) and the other not. – Archemar Jun 16 '21 at 14:10jsonfiles could be executable. Please see my updated question forls -lresults. – alper Jun 16 '21 at 18:48chmod -x alper.jsonto remove the executable bit but still its color remain unchanged @rush – alper Jun 17 '21 at 09:42