/tmp/lost+found on F9

Paul Howarth paul at city-fan.org
Tue May 27 12:19:38 UTC 2008

Being an old-fashioned sort of guy, I always create a separate
partition (well, logical volume these days) for /tmp and various other
top-level directories. Hence I have a directory /tmp/lost+found and
every day I get an email from cron like this:

  Subject: Cron <root at goalkeeper> run-parts /etc/cron.daily
  Date: Tue, 27 May 2008 04:17:12 +0100


  error: failed to lstat /tmp/lost+found: Permission denied

The following policy fixes this:

  policy_module(localmisc, 0.0.1)

  require {
	type tmpreaper_t;

  # Allow tmpwatch to stat /tmp/lost+found


More information about the fedora-selinux-list mailing list