CeleronDude uploader

Discussion in 'OT Technology' started by PopolZ, Apr 22, 2005.

  1. PopolZ

    PopolZ Canadian OG

    Joined:
    Oct 20, 2000
    Messages:
    1,477
    Likes Received:
    0
    Location:
    Mtl.Qc.█♣█
    I've just installed the CeleronDude uploader and i'm having a small problem.

    It will upload the file and move it to the proper directory BUT once moved to the pics directory the default permission on the file is 0600 and i'm getting

    -------------------------------------------------------------
    Forbidden

    You don't have permission to access /pics/1(1).jpg on this server.
    -------------------------------------------------------------


    How do I change the default permission or can I do something with the .htaccess to fix this????

    Thanks :wiggle:
     
  2. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,624
    Likes Received:
    40
    Location:
    Atlanta, GA
    Do an "ls -l" in the directory that the files were uploaded to. Note which user and group own the newly created file.

    Then do a "ps aux" and tell me what user and group the http or apache process is running as.

    If they are different then you will have to change the script to chmod the file to 0666 after the file is uploaded instead of 0600.
     
  3. PopolZ

    PopolZ Canadian OG

    Joined:
    Oct 20, 2000
    Messages:
    1,477
    Likes Received:
    0
    Location:
    Mtl.Qc.█♣█
    dang... I'll have to get the SSH access for that.
     
  4. PopolZ

    PopolZ Canadian OG

    Joined:
    Oct 20, 2000
    Messages:
    1,477
    Likes Received:
    0
    Location:
    Mtl.Qc.█♣█
    I found my answer after a few hours of search....

     

Share This Page