Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default /tmp files

    What exactly writes to the /tmp dir - I notice many sess_**************** files and i noticed one of them had kept pretty confidential information in the open.

    Any ideas how I can stop those being written to a public directory.......

    Brenden

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    May 2002
    Posts
    429

    Default

    Those are just session files created by php scripts ( i use them for auctions, shops...etc).

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default Re: /tmp files

    Originally posted by tAzMaNiAc
    What exactly writes to the /tmp dir - I notice many sess_**************** files and i noticed one of them had kept pretty confidential information in the open.

    Any ideas how I can stop those being written to a public directory.......
    Each account has its own tmp directory in /home/user/
    (if not, you could create one )

    In httpd.conf you can add the following line in the virtualhost directive:

    php_admin_value session.save_path /home/user/tmp/

    Check to be sure it works ofcourse

    More info on session_save_path:
    http://www..php.net/session_save_path

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Permission of /tmp/ files
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-21-2010, 07:08 PM
  2. malcious files in /tmp
    By thekonqueror in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-15-2007, 07:46 AM
  3. How can I delete /tmp and /var/tmp files?
    By Izkabola in forum E-mail Discussions
    Replies: 5
    Last Post: 01-02-2005, 04:25 AM
  4. Strange files in /tmp
    By markie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-18-2003, 12:36 PM
  5. cronjob on tmp files
    By carpman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-24-2001, 08:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube