Tmp Directory Writing Permission

Discussion in 'Site & Server Administration' started by xXxpert, Feb 17, 2013.

  1. #1
    Hello,

    lat day i have installed CSF Firewall on server and i was trying to fix all errors indicatedby plugin. then i tried to do "/tmp should be mounted as a separate filesystem with the noexec,nosuid options set"
    i followed a tutorial on web and do steps via SSH.
    but i think i messed it up wrong. now whenever i m tryng to upload images on vbulletin forum am getting this error
    "Upload failed due to failure writing temporary file."
    can someone help me in this matter ??
     
    xXxpert, Feb 17, 2013 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #2
    The error relates to tmp directory under your account. Create a tmp directory where your forum is installed. Set permissions to 777 and then try uploading the images. It should then work
     
    MilesWeb, Feb 18, 2013 IP
  3. xXxpert

    xXxpert Well-Known Member

    Messages:
    604
    Likes Received:
    34
    Best Answers:
    9
    Trophy Points:
    165
    Digital Goods:
    7
    #3
    Yeah, i got help from VB a plugin (picture watermark) was messing with PHP security
     
    xXxpert, Feb 18, 2013 IP
  4. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #4
    By the way, you should NOT set /tmp to 777, but rather 1777, the sticky bit matters.
     
    zacharooni, Feb 19, 2013 IP