Great Circle Associates Majordomo-Users
(April 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: CHOWN Problems on Unzubzcribe
From: Tom Limoncelli <tal @ plts . org>
Date: Wed, 23 Apr 1997 01:24:51 -0400 (EDT)
To: greg @ vyger . net (Greg Blakely)
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <Pine.LNX.3.93.970422220753.2036A-100000@vyger.net> from "Greg Blakely" at Apr 22, 97 10:11:40 pm

> MAJORDOMO ABORT (mj_majordomo)!!
> 
> chown(507, 2, "/usr/local/majordomo/lists/announcements.new"): Operation not permitted
> 
> ====================
> 
> Sure enough, when I go to /usr/local/majordomo/lists, I see a 0-length
> file owned by user bin and group bin.  When I su to majordom, it won't
> allow me to "chmod 507.2 announcements.new"... I get "Operation not
> permitted."...

Ooo ooo!  I know this one!  :-)

The problem is that majordomo creates the new list (minus
the name to be deleted) as follows:

	1. create list.new
	2. make sure that list.new has the same owner as list
	3. copy list to list.new (except the name to be deleted)
	4. mv list.new list
(I didn't include all the locking stuff since that isn't
Greg's problem)

The problem is step 2.  list.new is created owned by majordomo,
but list is owned by (my guess) daemon.  Since majordomo isn't
running as root, it can't fix this problem.  It reports the
above error and exist.

To fix this problem, make sure your "list" file is
owned by majordomo.majordomo and you "list.*" files
are owned by daemon.majordomo.

--tal

-- 
                                Tom Limoncelli
   tal@bell-labs.com -- http://mars.superlink.net/user/tal --  tal@plts.org

   "You can not solve the problem of people being annoying with technology."


References:
Indexed By Date Previous: Delivery problem
From: Choi jong won (WM-DM-4338-96.8.1) <jwchoi@lgsemicon.co.kr>
Next: re: majordomo/perl 4.036
From: Clyde Meli <cmeli@cis.um.edu.mt>
Indexed By Thread Previous: CHOWN Problems on Unzubzcribe
From: Greg Blakely <greg@vyger.net>
Next: Delivery problem
From: Choi jong won (WM-DM-4338-96.8.1) <jwchoi@lgsemicon.co.kr>

Google
 
Search Internet Search www.greatcircle.com