From owner-freebsd-questions Wed Apr 29 19:56:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA14316 for freebsd-questions-outgoing; Wed, 29 Apr 1998 19:56:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA14288 for ; Wed, 29 Apr 1998 19:55:36 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id TAA13905; Wed, 29 Apr 1998 19:54:59 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 29 Apr 1998 19:54:59 -0700 (PDT) From: Doug White Reply-To: Doug White To: "Victor M. Carranza G." cc: FreeBSD Questions mailing list Subject: Re: How does SUID and SGID work? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 29 Apr 1998, Victor M. Carranza G. wrote: > I'm trying to get rid of a problem with PC-Pine 3.96 (IMAP mail client). > The problem is that it cannot write a lock file in /var/mail due to denied > write access. In my inetd.conf file, the imapd is started as root, but ps > reveals that the process is owned by the authenticated user, instead of > root, once started. Instead of making /var/mail world-writeable, I tried > to chown root and chmod u+s imapd, but no success. It keeps taking the > authenticated user ID. I tried to chgrp mail imapd also, 'cause the mail > group does have write access on /var/mail, and then chmod g+s imapd, but > got the same results. What am I doing wrong? Hm, I have my /var/mail owned by bin:mail and have the sticky bit set on it and imap appears to be happy. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message