1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

contents of users directory - permission errors

Discussion in 'Legacy Sitebuilder Software' started by emsol, Oct 19, 2005.

  1. emsol

    emsol Guest

    0
     
    Hi,

    Ive finally got this installed and working - there is only one problem..

    When the sitebuilder creates the files in htdocs/user/ for the site that is being designed, it sets the permissions to 700 and this brings up a 403 in the browser when previewing. The error produced in the log is as follows...

    (13)Permission denied: access to /users/b0/b049f92ee34ba8125ab690d18b393498/preview/index.html failed because search permissions are missing on a component of the path

    Manually changing the file permissions to 755 allows the preview to work.

    This is a cpanel server running phpsuexec so php runs as the user "sitebuilder".
     
  2. dario

    dario Guest

    0
     
    Yeah, got the same problem here. Cpanel with PHPSuexec. User directories have 700 permissions instead of 755.

    -Dario
     
  3. emsol

    emsol Guest

    0
     
    You should also notice a problem if you try and use the "advanced" tab on the wysiwyg editor...

    Fatal error: Call to undefined function: sb_getfile_content() in /usr/local/sitebuilder/htdocs/wysiwyg/php/tagedit.php on line 11

    There are other problems too. Trust me, its a wast of time - unless they can come up with a cpanel specific installer. Doubt they will do that though, being rivals and all.
     
  4. Danil Fomichev

    Danil Fomichev Guest

    0
     
    Hello,

    Patch that should solve the problem is attached.
    You should extract it to
    /usr/local/sitebuilder/include/classes/ directory.

    Don't forget set proper permissions on the file 'class.util.inc'.
     
  5. Danil Fomichev

    Danil Fomichev Guest

    0
     
  6. dario

    dario Guest

    0
     
    Thanks, Danil! But do you work for SW-Soft? Is this patch officially supported?

    -Dario
     
  7. Danil Fomichev

    Danil Fomichev Guest

    0
     
    Hello,

    Don't worry about this :) I'm Technical Support Engineer from SWsoft.

    You can create trouble ticket regarding the problem and I will provide you with the patch.
     
  8. dario

    dario Guest

    0
     
    Oh, great! I'll take your word for it! Thanks again! :)
     
  9. dario

    dario Guest

    0
     
    The patch worked great! There's still a problem, though: when a user uploads a new logo for his site, the file is saved with permissions 600 instead of 644, so the image won't show up in his browser...

    -Dario
     
  10. hmorneau

    hmorneau Guest

    0
     
    File link does'nt work... I have to resolve this file permission error... file is to apache instead to the user...
     
  11. 'Wax'

    'Wax' Guest

    0
     
    Please, ask support to solve the problem
     
  12. SacxSol.com

    SacxSol.com Basic Pleskian

    23
    23%
    Joined:
    Dec 9, 2008
    Messages:
    31
    Likes Received:
    0
    Hello, I am the same last problem that Dario:
    Sitebuider Linux 4.5 (after activate phpsuexec): when a user uploads a new logo for his site, the file is saved with permissions 600 instead of 644, so the image won't show up in his browser...

    Thanks..
     
  13. skype-Acuity.satya

    skype-Acuity.satya Guest

    0
     

    please provide more information like product ,version , etc
     
    Last edited by a moderator: Oct 23, 2011
  14. SacxSol.com

    SacxSol.com Basic Pleskian

    23
    23%
    Joined:
    Dec 9, 2008
    Messages:
    31
    Likes Received:
    0
    Product: Parallels Plesk Sitebuilder for Linux/Unix
    Version: 4.5.0 Hotfix-20110711 (2011071115)

    Thanks..
     
Loading...