The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem uploading files to the server.

Discussion in 'General Discussion' started by Daniel Artes, Jan 22, 2005.

  1. Daniel Artes

    Daniel Artes Well-Known Member

    Joined:
    Jun 21, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA - Baltimore
    Hi ev1, i need some help here... None of the websites in my server can upload files using anykind of script. The firts that i though was that uploads was disabled in php.ini.. But It is eabled. Then i checked the permisions of the folders where the files are uploaded and same problem..

    I looked trough Cpanle, google and ev1 forums. and i couln't see any help for this problem.


    What else could it be? maybe the a temporal folder in the server or something?

    Could you tell me what else I could check...
     
  2. Daniel Artes

    Daniel Artes Well-Known Member

    Joined:
    Jun 21, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA - Baltimore
    I JUST FIXED!!! lol...

    chmod 777 /tmp
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    When you chmod temp, you need to use CHMOD 1777 otherwise you will have more problems.
     
  4. Daniel Artes

    Daniel Artes Well-Known Member

    Joined:
    Jun 21, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA - Baltimore
    really? Oh!!!
    Thanx chuirpy!!
    1777 =)


    Now.. why is that ? do u knoW? what other problems culd i hav? (just curious)
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The 1 represents the sticky bit such that any user can create files in /tmp, but only that user can delete them. Without it, anyone can manipulate anyone elses tmp files.
     
Loading...

Share This Page