Results 1 to 14 of 14

Thread: contents of users directory - permission errors

  1. #1
    Mega Poster
    Join Date
    Apr 2004
    Posts
    117

    Default contents of users directory - permission errors

    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. #2
    Bit Poster
    Join Date
    Oct 2005
    Posts
    6

    Default

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

    -Dario



  3. #3
    Mega Poster
    Join Date
    Apr 2004
    Posts
    117

    Default

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

    Default

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

  6. #6
    Bit Poster
    Join Date
    Oct 2005
    Posts
    6

    Default

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

    -Dario



  7. #7

    Default

    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. #8
    Bit Poster
    Join Date
    Oct 2005
    Posts
    6

    Default

    Oh, great! I'll take your word for it! Thanks again!



  9. #9
    Bit Poster
    Join Date
    Oct 2005
    Posts
    6

    Default

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

    Default

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



  11. #11
    Parallels Team
    Join Date
    Dec 2005
    Posts
    10

    Default

    Originally posted by hmorneau
    File link does'nt work... I have to resolve this file permission error... file is to apache instead to the user...
    Please, ask support to solve the problem



  12. #12

    Default

    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. #13
    Banned
    Join Date
    Oct 2011
    Posts
    43

    Default

    Quote Originally Posted by SacxSol.com View Post
    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..

    please provide more information like product ,version , etc
    Last edited by skype-Acuity.satya; Oct 23, 2011 at 01:36 PM.



  14. #14

    Default

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

    Thanks..



Posting Permissions

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