Weird result

"Kenneth G. Gordon" <[email protected]> Tue, 18 Aug 2009 12:13:21 -0700
Newsgroups gmane.mail.majordomo.general
Message-ID <4A8A9AE1.20408.20D8ACE9@localhost>
When I do this:

chmod g-w $list_dir

or this 

chmod 6751 $list_dir

I get this

"shlock: $list_dir is not writable by UID 1 GID 1"

Yet if I do this:

chmod 0770 $list_dir

or this

chmod 6770 $list_dir

I get this:

"550 5.2.4 :include:$list_dir/list... Cannot open
$list_dir/list: Group writable directory"

The second and third entries in /etc/passwd are 2) daemon and 3) 
bin

The userID majordom is a member of the group daemon AND of 
the group majordom.

Furthermore, if I run as a non-root user ./wrapper config-test, I get 
even more confusing messages...especially, "$list_dir has bad 
permissions." unless I make them 770, in which case config-test 
tells me everything is wonderful...which it isn't...

As I said...I am still confused.

Help...?!??

Ken Gordon
University of Idaho