PHP upload form and CHMOD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    #1

    PHP upload form and CHMOD

    Well, I have a site hosted on Dathorn for along time, which has form with file upload. It worked well al thetiemuntil recently. I found ot that now, when file is uploaded it is copied to destination but privielges are set to 600, so it is not accessible from browsers. If I manually change privielges to 644 it works. I altered form processing script to chmod file to 644 but it does not work (provileges stay 600).

    Is there something changed in host behavior regarding privelges that I am unaware of?
  • djn
    Senior Member
    • Mar 2004
    • 140

    #2
    I'm curious too. It happened to one of my websites last autumn, more than a year after I've set the thing up ( and never touched it anymore ). The very same script runs spotlessly on another dozen of websites, all on cpanel17. Any guess?

    Comment

    Working...