1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Permissions error after upgrade

Discussion in 'Plesk for Linux - 8.x and Older' started by Pagemakers, Dec 10, 2004.

  1. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    A few of my scripts are giving permissions errors after upgrading from 7.16 to 7.5

    I've tried re-installing them but I keep getting the same error.
     
  2. Mu-host.com

    Mu-host.com Guest

    0
     
    What scripts are giving you trouble?
     
  3. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    A cgi mailing list script. I get a permissions error when I try to send the mailout. Worked fine before.
     
  4. Mu-host.com

    Mu-host.com Guest

    0
     
    Have you hade sure that the file's actually executable (755 or equivalent) and that it is owned by the proper user that's executing the script? Another possible cause can of course be that you compile httpd manually (like I do) and have forgotten to replace suexec with the psa-suexec.
     
  5. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    More and more scripts are now failling with permissions errors!!!

    Nope - I don't compile manually.

    Bloody Plesk AGAIN :mad:
     
  6. Mu-host.com

    Mu-host.com Guest

    0
     
    Give me the permissions of the script failing? Where is it located? In a vhost dir, or in the /usr/local/psa/admin/cgi-bin dir?
     
  7. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    Fixing them one by one.

    Quote from my engineer:

    "seems the perl upgrade broke your mailing app"

    "perms on the file system seems to have been altered as well as the apache/php perms"
     
  8. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    I think all 777 permissions have been reset to 755

    I thought this was fixed many months ago?
     
  9. Mu-host.com

    Mu-host.com Guest

    0
     
    777 permissions is a "Bad Thing(tm)" though, so I don't really disagree with that. Perhaps the scripts you are using are expecting the wrong permissions?
     
  10. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    Well it may not necessarily be 777 permissions. That was just me assuming....

    However, about 10% of all the scripts on our 7.50 servers stopped working.

    From mailing lists to counters, in fact, come to think of it, scripts that write files to the server....

    I have never had this problem before with any Plesk upgrade.
     
  11. Mu-host.com

    Mu-host.com Guest

    0
     
    Actually, I had two clients recently report that their Movable Type CGI scripts stopped working as well, so this is probably an issue after all.
     
  12. mac0310

    mac0310 Guest

    0
     
    Okay so now what?

    I think it is safe to say that there are several major issues with the 7.5.0 upgrade and the question I have is who at SW-Soft should be told about this so they can stopping calling it user error and fix their own mistakes! It amazes me how much effort they put into trying to charge me for support when it is their own fault. Perhaps if they put the same amount of effort into their code we wouldn't be on this forum bitching.
     
  13. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    I've just paid somebody €300 to fix the mess after the upgrade today.

    I've had clients calling all day complaining.

    Why do you upgrade they ask?

    To fix bugs I answer.

    Sadly, we fix bugs A, B & C only to get bugs D, E & F

    I agree with mac. I have paid for Plesk email support yet 95% of everything I report is a bug with the software and not something I have done.
     
  14. mac0310

    mac0310 Guest

    0
     
    Question

    I am relatively new to Plesk and SW-Soft with Plesk running on my servers for a month or so and the question I have is are there any formal mechanisms in place to report bugs? In my experience releases were made available to a Beta community and then unleashed on the paying public once the problems had been ironed out. I am getting the impression that SW-Soft is practically rolling out Beta material or is there something I need to be made aware of?
     
  15. Cranky

    Cranky Guest

    0
     
  16. jmfrisch

    jmfrisch Guest

    0
     
    This is absolutely terrible. Obviously there was very little testing done, as seems to often be the case. I am extremely unhappy with swsoft.
     
  17. brooks

    brooks Guest

    0
     
    I understand the frustration. Do we know what actually caused these CGI scripts to fail?
     
  18. jmfrisch

    jmfrisch Guest

    0
     
    It seems that the SuexecUserGroup variable disappeared from the vhost Apache configuration. Therefore, unless your CGIs data files are 777 then they cannot be written to. I have been told there will be a hotfix out very shortly. Fingers crossed.
     
  19. brooks

    brooks Guest

    0
     
    Hmm, so this is only an Apache 2 issue? I'm not sure for which OSes Apache 1 vs. Apache 2 is supported. Here's what I do know:

    RH 7.3 - Apache 1.x
    RH ES - Apache 2.x

    So, the simple fix would be to add:

    <IfModule mod_suexec.c>
    SuexecUserGroup USER psacln
    </IfModule>

    to your vhost.conf and vhost_ssl.conf files, replacing "USER" with the actual user name of the owner of virtual host . Once a fix is released you will need to then go through and delete any *.conf file that are no longer needed.

    It really amazes me how these simple things ever get by testing. But, having worked in some of the larger software companies, with significant resources dedicated to testing, I know it's not uncommon.
     
  20. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    663
    Likes Received:
    6
    This is what plesk told me this morning:

    Sorry for the mess. It seems it's complitely our fault and our development is working on this issue. This should be fixed in one of nearest patches.

    The real problem is that there is no 'SuexecUserGroup' directive in /home/httpd/vhosts/*/comf/httpd.include apache config filesthat allows apache to execute scripts with the correct permissions, namely ('ftpuser','psacln').


    Well, at least they have found the problem and they are working on it.
     
Loading...