Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: wrong permissions

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    24

    Default wrong permissions

    I use a blog to upload images, but the images are automatically set with permissions 600 instead of 644, therefore it can't be viewed. How can this be changed? I am told it is in the settings... See http://www.boastology.com/forum/view...406&highlight=
    Can this be fixed?

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Location
    Italy
    Posts
    20

    Default

    On what Cpanel you are?
    I have a customer of mine (on cpanel22) that have the same problem: he has some php scripts (for upload document, mainly pdf files) that worked perfectly for months; suddenly, from some days to now, the permissions are set wrongly.
    ----------------------------
    Maurizio Mascheroni - Italy
    http://www.dreamchess.com

  3. #3
    Senior Member sdjl's Avatar
    Join Date
    Mar 2004
    Location
    London, UK.
    Posts
    502

    Default

    You may wish to let the support person know that they're running phpsuexec here.

    Just as a side note, the script that i wrote works perfectly well for uploading images with the correct permissions.

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Posts
    24

    Default

    Quote Originally Posted by maskeret
    On what Cpanel you are?
    I have a customer of mine (on cpanel22) that have the same problem: he has some php scripts (for upload document, mainly pdf files) that worked perfectly for months; suddenly, from some days to now, the permissions are set wrongly.
    I am also on cpanel 22. Any idea on how to fix?

  5. #5
    Senior Member -Oz-'s Avatar
    Join Date
    Mar 2004
    Location
    Phoenix, AZ
    Posts
    545

    Default

    if this just suddenly occurred perhaps a dathorn trouble ticket is needed. As long as nothing on the client's end changed it must be a change in the server config.
    Dan Blomberg

  6. #6
    Junior Member
    Join Date
    Jul 2004
    Posts
    24

    Default

    Quote Originally Posted by -Oz-
    if this just suddenly occurred perhaps a dathorn trouble ticket is needed. As long as nothing on the client's end changed it must be a change in the server config.
    I did create a trouble ticket. But they say it is because of permissions in the script or phpsuexec not configured properly or something...

  7. #7
    Junior Member
    Join Date
    Mar 2004
    Location
    Italy
    Posts
    20

    Default

    Quote Originally Posted by maartenvr
    I did create a trouble ticket. But they say it is because of permissions in the script or phpsuexec not configured properly or something...
    I also did create a ticket. The answer was "It is likely that the scripts is not entirely compatible with phpsuexec".
    I'm not sure what this means, because the script works fine for many months (from november 2004, more or less) and the document was uploaded with the correct permissions (644). From some days to now, the permissions is wrongly set to 600.
    Have someone any suggestions?
    What means, exactly, "compatible with phpsuexec"?

    Any help will be appreciated,
    ----------------------------
    Maurizio Mascheroni - Italy
    http://www.dreamchess.com

  8. #8
    Junior Member
    Join Date
    Apr 2004
    Posts
    24

    Default i have the same problem

    upload script has been working corectly for months

    last sure execution in june

    and now, all of a sudden uploaded files have permission 600

    i'm writing my ticket right now... (cpanel 37)

    and it is is the simpliest of all php upload file script...

  9. #9
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,640

    Default

    Quote Originally Posted by pitu
    upload script has been working corectly for months

    last sure execution in june

    and now, all of a sudden uploaded files have permission 600

    i'm writing my ticket right now... (cpanel 37)

    and it is is the simpliest of all php upload file script...
    You need to modify the script accordingly change the permissions or try writing them to /tmp and then moving them to your account.

  10. #10
    Junior Member
    Join Date
    Apr 2004
    Posts
    24

    Default

    changing every single upload script i have in my administration pages sure is one solution... but...

    I see the problem from a different angle...

    My scripts worked well...the server settings obviously changed...
    and i would prefer the possibility of one global solution
    rather than re-writing a duzen upload scripts...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •