Running "tmpwatch -s" may not work with filenames that begin with "-" in Red Hat Enterprise Linux 5

Solution Verified - Updated -

Issue

  • The tmpwatch command doesn't terminate the argument list to fuser, and therefore may not handle files starting with '-' correctly.
  • Running tmpwatch on a directory containing filenames that begin with "-" may generate errors.

Environment

Red Hat Enterprise Linux 5.4 / tmpwatch-2.9.7-1.1.el5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content