wrong permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maartenvr
    Junior Member
    • Jul 2004
    • 24

    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?
    Maarten Van Ruitenburg
    Professional Web Site Design
  • maskeret
    Junior Member
    • Mar 2004
    • 20

    #2
    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

    Comment

    • sdjl
      Senior Member
      • Mar 2004
      • 502

      #3
      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?

      Comment

      • maartenvr
        Junior Member
        • Jul 2004
        • 24

        #4
        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?
        Maarten Van Ruitenburg
        Professional Web Site Design

        Comment

        • -Oz-
          Senior Member
          • Mar 2004
          • 545

          #5
          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

          Comment

          • maartenvr
            Junior Member
            • Jul 2004
            • 24

            #6
            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...
            Maarten Van Ruitenburg
            Professional Web Site Design

            Comment

            • maskeret
              Junior Member
              • Mar 2004
              • 20

              #7
              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

              Comment

              • pitu
                Junior Member
                • Apr 2004
                • 24

                #8
                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...

                Comment

                • AndrewT
                  Administrator
                  • Mar 2004
                  • 3653

                  #9
                  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.

                  Comment

                  • pitu
                    Junior Member
                    • Apr 2004
                    • 24

                    #10
                    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...

                    Comment

                    • AndrewT
                      Administrator
                      • Mar 2004
                      • 3653

                      #11
                      A global solution is not something that is even an option right now.

                      Comment

                      Working...