Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm in a situation where I need some directories chmod 777 -- the problem is that bash reverse-highlights the directory name making it all but unreadable when I do so. I'd like to turn off this "feature" and have these dirs display at the console like a regular dir.
You can do it the way you're doing, but you might find it more useful in the long run to edit the /etc/DIR_COLORS file.
I believe the item you need to change, the way you are doing it, is the "ow" entry (which means "other-writeable"), but the /etc/DIR_COLORS file should have a little bit more explanation about the various two-letter items.
PS - I should have mentioned:if you want to turn it off entirely, check your /etc/profile file (it may be another file, so cross your fingers) and see if `ls` is aliased to `ls --colors=` or something like this. To disable the colors entirely, either comment that line out, or, at your shell prompt, reset the `ls` alias to nothing.
Just change it to di=00 to disable it completely, or one of the other ansi sequences if you want a different color. This page has a chart of the available color sequences (under the "set graphics mode" entry).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.