/tmp & /var/tmp in ubuntu
Marius Gedminas
marius at pov.lt
Wed Jun 6 09:06:41 UTC 2012
On Wed, Jun 06, 2012 at 04:51:57AM -0400, Tom H wrote:
> On Tue, Jun 5, 2012 at 2:04 PM, Rajeev Prasad <rp.neuli at yahoo.com> wrote:
> > how to control the deletion time on /var/tmp? is it the same as TMPTIME in
> > /etc/default/rcS?
>
> Please bottom-post.
>
> TMPTIME controls "/tmp".
>
> I have no idea how the deletion of the contents of "/vat/tmp" on
> Ubuntu. I've always assumed that Ubuntu behaved like RHEL and cleared
> items in "/var/tmp" that are older than 30 days but a quick look in
> "/etc/init*" and "/etc/cron*" as well as root's crontab didn't yield
> anything. And the only Ubuntu box that I can check at the moment has a
> completely empty "/var/tmp" so I can't even check how old the oldest
> file in it is.
I've files more than 1 year old in /var/tmp.
I don't think it's cleaned up automatically on Ubuntu.
Marius Gedminas
--
Please do not even think about automatically normalizing file names
anywhere. There is absolutely no need for introducing such nonsense, and
deviating from the POSIX requirement that filenames be opaque byte
strings is a Bad Idea[TM] (also known as NTFS).
-- Markus Kuhn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120606/6e192dff/attachment.sig>
More information about the ubuntu-users
mailing list