[TriLUG] Linux directory problem?

James c. Jones jonesjc at intrex.net
Fri Dec 14 12:37:17 EST 2007


John,

Thanks for the information. As you know by now, I solved my problem by
deleting the directory & reconstructing the directory.

Now for me to learn what STICKY OTHER WRITEABLE & OTHER WRITEABLE mean
and how to correct it.

I really appreciate your information.

jcj
John Mitchell wrote:
> On Dec 14, 2007 10:10 AM, James c. Jones <jonesjc at intrex.net> wrote:
> <snip>
>   
>> I have one directory that appears with a green background behind the
>> directory name. It doesn't appear to be permission related, but I am not
>> sure. I am having trouble accessing information from this directory from
>> php access in wordpress. ( actually no access ).
>>
>> Any Ideas would be appreciated.
>>     
>
> James,
>
>   Thanks for the question, I learned a lot on this one!
>
> After searching a bit, here is the answer.
>
> 1) The Directory colors used by ls come from a file that can be seen by doing:
>
> dircolors  --print-database    from a terminal. By the way, the green
> can also be seen using Rxvt or xterm also.
>
> I did a "dircolors  --print-database > colors.txt" so I could us vi to
> read the output.
>
> 2) in the output there is a section "color init strings for basic file
> types" which shows "background color codes" of which 42=green.
>
> 3) Further down the file you will find that the 42 is used for:
> STICKY OTHER WRITABLE & OTHER WRITABLE
>
> There you are !
>
> PS, I got there by realizing that the "color" was not in the terminal
> but from the 'ls' command. So that led to 'man ls' and that lead to
> 'man dircolor'
>
> john mitchell.
>   




More information about the TriLUG mailing list