Meaning behind coloring in Linux filesystem?
Alright, so I'm a Linux newbie, but I've been trucking along pretty well. I have Samba all set up for file and printer sharing with different levels of user acess, and everything seems to be working perfectly.
One thing, however, is still bugging me. Yesterday, I installed a new internal hard drive formatted with the NTFS file system. I then connected another NTFS formatted drive, but this one was external. I mounted these two drives to /mnt/sdb1 and /mnt/sdc1 respectively.
When navigating to /mnt/ and doing a 'ls -l' it ended up showing me two directories, however, unlike most driectories that are presented through Putty in blue text, these directories were written in grey text with a bright green background.
I then proceeded to format the internal NTFS formatted drive, re-partitioned it, and refomatted it using the ext4 FS. After mounting the internal drive back to /mnt/sdb1 I now had the sdb1 folder showing up as i expected (blue text, no background color) but the sdc1 directory was still grey text with a green background. Logically, I assumed that this was due to the fact that the mount points were two different file systems.
Anyway, I proceeded to transfer the entire contents of sdc1 to sdb1 using the 'rsync -avh /mnt/sdb1 /mnt/sdc1' command. Again, when looking at /mnt/ I noticed that sdb1 (ext4) was written in blue text, no background, while sdc1 (NTFS) was still grey text with a green background. Finally, I navigated to /mnt/sdb1 and when viewing the directory they were all grey text with a green background.
Anyway, after that garrulous explanation, what do these colours signify? I realize that they can be altered in Putty, but I'm trying to figure out what their significance is. I've been searching online, and all I've found are articles that discuss how to change them, not what they signify.
Currently I'm using Ubuntu Server LTS 10.04, and I originally assumed that they were related to the filesystem, but now I'm leaning towards the fact that they may have something to do with permissions or access levels.
Any help would be appreciated.
|