Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* tmpwatch
@ 1997-01-24 17:31 Art Werschulz
  0 siblings, 0 replies; 2+ messages in thread
From: Art Werschulz @ 1997-01-24 17:31 UTC (permalink / raw)


Hi.

Every day, we get the following mail from cron to root:

    Date: Fri, 24 Jan 1997 02:41:00 -0500
    From: root@ERDOS.DSM.fordham.edu (Cron Daemon)
    To: root@ERDOS.DSM.fordham.edu
    Subject: Cron <root@erdos> /usr/sbin/tmpwatch 240 /tmp /var/tmp
    X-Cron-Env: <SHELL=/bin/bash>
    X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
    X-Cron-Env: <MAILTO=root>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <LOGNAME=root>

    /bin/bash: /usr/sbin/tmpwatch: Permission denied

The cure is probably simple:  It turns out that /usr/sbin/tmpwatch is
not executable, so I would only need to do a chmod +x to same.

Before I do this, however: exactly what does tmpwatch do?  There
appears to be no manpage entry.

Thanks.

-- 
Art Werschulz (8-{)}   "Metaphors be with you."  -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? 
Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
ATTnet:   Fordham U. (212) 636-6325, Columbia U. (212) 939-7061

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tmpwatch
       [not found] <199701241731.MAA03704@sobolev.dsm.fordham.edu>
@ 1997-01-24 18:49 ` Erik Troan
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Troan @ 1997-01-24 18:49 UTC (permalink / raw)


On Fri, 24 Jan 1997, Art Werschulz wrote:

> The cure is probably simple:  It turns out that /usr/sbin/tmpwatch is
> not executable, so I would only need to do a chmod +x to same.

That will fix it.

> Before I do this, however: exactly what does tmpwatch do?  There
> appears to be no manpage entry.

It removes old files (2 weeks is the default I believe) from your system.

Erik

-------------------------------------------------------------------------------
|       I told you I'm not very bright -- Sugar in "Some Like It Hot"         |
|      "RPM is the greatest thing since swap-space" - Bryan C. Andregg
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-24 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-24 17:31 tmpwatch Art Werschulz
     [not found] <199701241731.MAA03704@sobolev.dsm.fordham.edu>
1997-01-24 18:49 ` tmpwatch Erik Troan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox