contents of users directory - permission errors

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

  1. emsol

    emsol New Member

    Messages:
    117
    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 New Member

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

    -Dario
  3. emsol

    emsol New Member

    Messages:
    117
    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 New Member

    Messages:
    33
    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 New Member

    Messages:
    33
  6. dario

    dario New Member

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

    -Dario
  7. Danil Fomichev

    Danil Fomichev New Member

    Messages:
    33
    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 New Member

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

    dario New Member

    Messages:
    6
    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 New Member

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

    'Wax' Parallels Team

    Messages:
    10
    Please, ask support to solve the problem
  12. SacxSol.com

    SacxSol.com New Member

    Messages:
    32
    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 Banned

    Messages:
    33

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

    SacxSol.com New Member

    Messages:
    32
    Product: Parallels Plesk Sitebuilder for Linux/Unix
    Version: 4.5.0 Hotfix-20110711 (2011071115)

    Thanks..

Share This Page