From owner-freebsd-questions Wed Feb 24 23:39: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ds9.dreamhaven.org (dt0f6n91.san.rr.com [24.94.29.145]) by hub.freebsd.org (Postfix) with SMTP id 11A2114C3F for ; Wed, 24 Feb 1999 23:39:00 -0800 (PST) (envelope-from data@dreamhaven.net) Received: (qmail 94376 invoked by uid 1010); 25 Feb 1999 07:38:44 -0000 Date: Wed, 24 Feb 1999 23:38:44 -0800 (PST) From: Bryce Newall X-Sender: data@ds9.dreamhaven.org To: cjclark@home.com Cc: Nathan Ahlstrom , freebsd-questions@FreeBSD.org Subject: Re: Broken "at" ? In-Reply-To: <199902250511.AAA02132@cc942873-a.ewndsr1.nj.home.com> 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 Thu, 25 Feb 1999, Crist J. Clark wrote: > Nathan Ahlstrom wrote, > > drwxr-xr-x 2 daemon wheel 512 Feb 14 22:10 jobs > > drwxr-xr-x 2 daemon wheel 512 Feb 14 22:15 spool > > portage% > > > > Mine are owned by the daemon user. > > I don't think that should matter, files are written to jobs as the > invoking user which implies root privilege plus, It seemed to do the trick, though. As soon as I changed the directory ownerships to daemon instead of root, it worked. You're right that at is setuid, but atrun is not (and I even tried setting it that way; didn't help). I guess atrun is written to run as "daemon", and since the directories were owned by root, it couldn't get proper access to modify files within those directories. Thanks to both of you for the excellent help! :) ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://www.dreamhaven.net/~data * * "Insanity takes its toll. Please have exact change." * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message