FG
💻 Software

How long are files kept in /var/tmp/, and how to use the directory?

Fresh5 days ago
Mar 15, 202651098 views
Confidence Score0%
0%

Problem

I'm always hesitant to use /var/tmp/, because I never quite know exactly how long the files are kept there for, or even what the directory is used for. What determines when a file gets removed from /var/tmp/, and how is the directory intended to be used?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How long are files kept in /var/tmp/, and how to use the directory?

Low Risk

Per the Filesystem hierarchy standard (FHS), files in are to be preserved across reboots. Per FHS-2.3: The /var/tmp directory is made available for programs that require temporary files or directories that are preserved between system reboots. Theref…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment