Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation Can i remove the content of /tmp ?

    lfd keep finding suspicious directories in /tmp/.tmp

    Is /tmp just like the temporary folder in windows and you can delete the content anytime you want and it wont effect anything?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    If there are suspicious files and directories, you should trace their origin and clarify.
    Deleting the symptoms is useless.

    About "Deleting in tmp wont affect anything"
    That statement is wrong.
    Yes, the nature of temp files is to be volatile.
    And yes, a good designed programm should be able to start from the last known good point once it gets reinvoked after e.g. a hard reboot.
    But a running instance might get confused if tmp files are deleted.
    You must always face the curtain with a bow.

  3. #3
    How can i trace the origin of the suspicion?
    I have bunch of these kinda logs in my lfd.log
    Oct 7 05:28:21 center lfd[30009]: *Suspicious File* /tmp/.tmp [USER3:USER3 (501:501)] - Suspicious directory - removed


    So how can i know which files/folders i can delete in /tmp ?

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts