Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 19:14:07 -0600
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        Bryce Newall <data@dreamhaven.net>, FreeBSD Questions List <freebsd-questions@FreeBSD.org>
Subject:   Re: Broken "at" ?
Message-ID:  <19990224191407.B19315@winternet.com>
In-Reply-To: <Pine.NEB.4.05.9902232335470.453-100000@ds9.dreamhaven.org>; from Bryce Newall on Tue, Feb 23, 1999 at 11:40:07PM -0800
References:  <Pine.NEB.4.05.9902232335470.453-100000@ds9.dreamhaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryce Newall <data@dreamhaven.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990224191407.B19315>