Matt Posted August 13, 2008 Report Share Posted August 13, 2008 matt@laptop:~$ ls Music When I execute this command, it lists all of the subdirectories within my /home/matt/Music directory. I'm used to directories showing up blue within my terminal. Why are some of the ones here blue while others are highlighted green? Quote Link to post Share on other sites
jcl Posted August 13, 2008 Report Share Posted August 13, 2008 (edited) Symlinks?If the LS_COLORS environment variable is set, look for... hmm, maybe 94;42.Edit: Debian apparently displays other-writable directories as blue-on-green (ow=34;42) by default. Your blue might just be lighter than mine. (94;42 is light blue-on-green.) Edited August 13, 2008 by jcl Quote Link to post Share on other sites
Matt Posted August 13, 2008 Author Report Share Posted August 13, 2008 Edit: Edit: Debian apparently displays other-writable directories as blue-on-green (ow=34;42) by default. Your blue might just be lighter than mine. (94;42 is light blue-on-green.) Ah ok, so its a permissions deal.*Matt tries to think of a good chmod for theese...Thanks jcl Quote Link to post Share on other sites
jcl Posted August 13, 2008 Report Share Posted August 13, 2008 (edited) I'm not sure where else to look for LS_COLORS$ echo $LS_COLORSor more readably$ echo $LS_COLORS | sed -e 's/:/\n/g'What are other-writable directories, and why are only some of them this way?Directories that writable by people other than owner and group. As for why you'd have them, I have no idea. I didn't recognize the color scheme because I've never (AFAICR) encountered an other-writable directory (that didn't have the sticky-bit set, which changes the colors but is otherwise irrelevant to this discussion).Edit: "chmod o-w $DIR" Edited August 13, 2008 by jcl Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.