From owner-freebsd-questions Wed Feb 24 17:14:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id C1BDE14C8D for ; Wed, 24 Feb 1999 17:14:24 -0800 (PST) (envelope-from nrahlstr@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id TAA21140; Wed, 24 Feb 1999 19:13:44 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma021102; Wed, 24 Feb 99 19:13:33 -0600 Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id TAA19332; Wed, 24 Feb 1999 19:14:07 -0600 (CST) Message-ID: <19990224191407.B19315@winternet.com> Date: Wed, 24 Feb 1999 19:14:07 -0600 From: Nathan Ahlstrom To: Bryce Newall , FreeBSD Questions List Subject: Re: Broken "at" ? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Bryce Newall on Tue, Feb 23, 1999 at 11:40:07PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bryce Newall wrote: > Greetings! > > I have a small problem. Somehow, in the process of swapping out some hard > drives, I seem to have broken the "at" command. Some of my users have > griped about it, because they (like me, actually) use it to send > themselves reminder notes, and it's a heck of a lot easier than using cron > to set up a one-time job and then remembering to delete the cron job > again. Whenever something tries to run with atrun, I get this in my logs: > > Feb 24 00:30:00 dreamhaven atrun[19405]: cannot create output file: > Permission denied > > I have no idea where "at" is trying to create its output file. My best > guess is /var/at, and I suspect there's a permissions problem somewhere, > but I don't know what the permissions should be. Here's what I have: > > [61]root@dreamhaven:/var # ls -d at > drwxr-xr-x 4 root wheel 512 Feb 8 11:24 at/ > [62]root@dreamhaven:/var # cd at > [63]root@dreamhaven:/var/at # ls > total 2 > -rw-r--r-- 1 root wheel 0 Dec 25 01:15 at.deny > drwxr-xr-x 2 root wheel 512 Feb 24 00:26 jobs/ > drwxr-xr-x 2 root wheel 512 Dec 25 01:15 spool/ > > I've tried changing the permissions on the "jobs" and "spool" directories > to 777, but to no avail. If anyone has a suggestion, I'd sure love to > hear it! It's probably just something stupid that I've overlooked. portage% ls -al /var/at total 4 drwxr-xr-x 4 root wheel 512 Oct 5 1997 . drwxr-xr-x 18 root wheel 512 Dec 18 18:10 .. 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. Good Luck, Nathan -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message