![](https://seccdn.libravatar.org/avatar/e44cb764561c23098809250dfb11ab8c.jpg?s=120&d=mm&r=g)
Hi, Concerning tmpwatch...does it work well? if so, where is it available? Thanks, Dallam _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
![](https://seccdn.libravatar.org/avatar/e7c8611332edb7a71061bb49c90ad6d6.jpg?s=120&d=mm&r=g)
On Wed, May 16, 2001 at 10:30:19AM -0000, Dallam Wych wrote:
Hi, Concerning tmpwatch...does it work well? if so, where is it available?
It works quite well. It's in package tmpwatch, though for some unfathomable reason SuSE has renamed it "temp-watch". It even has a man page that SuSE hasn't included in its RPM package, but is available at http://www.rt.com/man/tmpwatch.8.html if you need it. -tara
![](https://seccdn.libravatar.org/avatar/dde14ae637ae8f7452e3a6cf286272fc.jpg?s=120&d=mm&r=g)
Tara L Andrews wrote:
On Wed, May 16, 2001 at 10:30:19AM -0000, Dallam Wych wrote:
Hi, Concerning tmpwatch...does it work well? if so, where is it available?
It works quite well. It's in package tmpwatch, though for some unfathomable reason SuSE has renamed it "temp-watch". It even has a man page that SuSE hasn't included in its RPM package, but is available at http://www.rt.com/man/tmpwatch.8.html if you need it.
I've got SuSE 7.1 and the Yast1 package manager couldn't locate anything with a name like that. I tried searching on both tempwatch and tmpwatch and came up only with some Italian man pages <s>. Nothing like that in the index of all packages, either. So where is it? There are also a few settings in /etc/rc.config for cleaning out temp directories: # # cron.daily can check for old files in tmp-dirs. It will delete all files # not accessed for more than MAX_DAYS_IN_TMP. If MAX_DAYS_IN_TMP is not set # or set to 0, this feature will be disabled. # MAX_DAYS_IN_TMP="14" # You can specify in TMP_DIRS_TO_CLEAR, which directories have to be # searched for old files, to be deleted. # TMP_DIRS_TO_CLEAR="/tmp /var/tmp" # # In OWNER_TO_KEEP_IN_TMP, you can specify, whoms file shall not be deleted. # OWNER_TO_KEEP_IN_TMP="" However, these settings haven't worked for me; I still have a bunch of old files sitting around in /tmp that should have been deleted. Paul
![](https://seccdn.libravatar.org/avatar/faac44f0620e932e8ce8bea299f25977.jpg?s=120&d=mm&r=g)
# cat ARCHIVES.gz |gunzip |grep -i tmpwatch |most ---> ./suse/sec2/tmpwatch.rpm ./suse/sec2/tmpwatch.rpm: Name : tmpwatch ./suse/sec2/tmpwatch.rpm: Summary : Watches file system activity, ./suse/sec2/tmpwatch.rpm: Description : ./suse/sec2/tmpwatch.rpm: A common shortcoming of programs is how they treat data and files in temporary or holding areas. Many people have been silently exploiting many of these problems for some time now. The tool opens the directory specified and continuously reads the contents. Upon first read it spits out the list that it has built (it attempts an ls -l style output). From that point on it shows any additions or deletions that it sees prefaced with '+' or '-' accordingly. ./suse/sec2/tmpwatch.rpm: SuSE series: sec ^^^ ./suse/sec2/tmpwatch.rpm: -rwx------ root root 406576 Mar 1 15:35 /usr/sbin/temp-watch ./suse/sec2/tmpwatch.rpm: drwxr-xr-x root root 4096 Mar 1 15:35 /usr/share/doc/packages/tmpwatch On Sat, 19 May 2001, Paul Abrahams wrote:
I've got SuSE 7.1 and the Yast1 package manager couldn't locate anything with a name like that. I tried searching on both tempwatch and tmpwatch and came up only with some Italian man pages <s>. Nothing like that in the index of all packages, either. So where is it?
There are also a few settings in /etc/rc.config for cleaning out temp directories:
# # cron.daily can check for old files in tmp-dirs. It will delete all files # not accessed for more than MAX_DAYS_IN_TMP. If MAX_DAYS_IN_TMP is not set
# or set to 0, this feature will be disabled. # MAX_DAYS_IN_TMP="14"
# You can specify in TMP_DIRS_TO_CLEAR, which directories have to be # searched for old files, to be deleted. # TMP_DIRS_TO_CLEAR="/tmp /var/tmp"
# # In OWNER_TO_KEEP_IN_TMP, you can specify, whoms file shall not be deleted. # OWNER_TO_KEEP_IN_TMP=""
However, these settings haven't worked for me; I still have a bunch of old files sitting around in /tmp that should have been deleted.
Paul
-- dieter
participants (4)
-
Dallam Wych
-
dieter
-
Paul Abrahams
-
Tara L Andrews