Permission denied !!

Discussion in 'PHP' started by ausgezeichnete, Jan 24, 2008.

  1. #1
    i have this error when i uploaded my site on the net,althought it never show up in localhost???whats up???
    Warning: copy(fotos/1201202714.jpg) [function.copy]: failed to open stream: Permission denied in /home/vozemet7/public_html/vozenow/photo/photo/Admin/gallery/edit_gallery.php on line 155
     
    ausgezeichnete, Jan 24, 2008 IP
  2. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your problem is probably that Apache on the remote server is running as the Apache user 'nobody'. You probably need to give write access to fotos directory for all users.
     
    TwistMyArm, Jan 24, 2008 IP
  3. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Is the 'fotos' directory CHMOD 0777?

    Jay
     
    jayshah, Jan 24, 2008 IP
  4. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes, i guess this as well.. such kind of problems appears when there is no full permissions..you need to set chmod 777. its easy.. using your ftp software like ws-ftp (IP switch) right click on the folder you need to give permission, select properties then you will see :)
     
    webexpert, Jan 24, 2008 IP