LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-13-2007, 06:30 AM   #1
0ddba11
Member
 
Registered: Nov 2004
Location: Derby - UK
Distribution: Ubuntu at Home, RedHat Enterprise at Work
Posts: 45

Rep: Reputation: 15
ls -l shows mounts with a green block of colour round them


Hello all...

I have what I thought was an easy question to answer but I've been searching forums and googling for about an hour now to no avail!

On a CentOS 5 server that is acting as a disaster recovery server, I have several other file systems mounted to it (2 x NFS 6 x CIFS) under /mnt/drmounts

After mounting up the filesystems and doing an ls -l /mnt/drmounts, 7 of the mounts (all 6 CIFS and 1 NFS) show up with a green block of colour round them.

Everything seems to work ok, but I would like to know what the green block of colour signifies as one of the mounts doesn't have it?!

Regards,
Gaz.
 
Old 09-13-2007, 10:20 AM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
Enter this at the command line, and all will be revealed.
Code:
man dircolors
 
Old 01-07-2008, 09:24 AM   #3
Molusc
LQ Newbie
 
Registered: Jan 2008
Distribution: various
Posts: 1

Rep: Reputation: 0
It's taken me about 3 hours to work this out as well - there's nothing helpful in the manpage.

It appears that the green background signifies a directory that is "other-writable" (it's denoted ow by dircolor)
 
Old 04-18-2013, 08:30 AM   #4
newvin
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
I don't know if this will help you, but commenting out or removing entries in your DIR_COLORS entries will not disable them. Instead, it causes them to fall back to a default. In most cases, this default is fine, but in the case of other-writable directories(at least in CentOS) it is a hideous blue text with green highlighting/background. To fix this, I think I changed the values of the STICKY_OTHER_WRITABLE, OTHER_WRITABLE, and STICKY to a less obnoxious value rather than delete/comment them out.
 
  


Reply

Tags
block, color, colour, ls, mount


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD RW mounts and shows files but can't read Koppie Linux - Hardware 3 05-27-2007 10:51 AM
I hate green splash screen colour jessj Suse/Novell 3 09-03-2005 11:45 AM
totem n other media player shows no video(Hz green lines??) after installing updates? The_neo Mandriva 0 07-15-2004 03:47 AM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 05:32 PM
PS2 mouse goes crazy [it goes round n round n round...] goci Linux - Hardware 2 10-09-2003 08:15 AM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration