Announcement

Collapse
No announcement yet.

rvsitebuilder with cloudlinux securelinks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rvsitebuilder with cloudlinux securelinks

    Hi guys,

    I have rvsitebuilder and the following in my cpanel,cloudlinux,cagefs,apache config on.

    1. SymLinksIfOwnerMatch in apache configuration
    2. Cloudlinux with securelinks on

    When I created a tryout page everything seems to work fine. When published I noticed that no template thumbnail images were displayed on template sections.
    I then decided to disable (1) and (2) after getting errors in apache error log:

    mod_hostinglimits:Symlink owner mismatch, access denied due to SecureSymLink #31: /home/[domain]/public_html/tryout/www/template/pro_7-473-1_maroon_ferrisWheel_2/s_preview.jpg

    and

    Symbolic link not allowed or link target not accessible

    Any ideas on how to fix this without having to disable these security features?

    Thanks
    Hostking | Since 2013 | Web Hosting | WordPress Web Hosting

  • #2
    What is the output of:
    ls -l /home/[domain]/public_html/tryout/www/template/pro_7-473-1_maroon_ferrisWheel_2/s_preview.jpg
    and
    ls -lH /home/[domain]/public_html/tryout/www/template/pro_7-473-1_maroon_ferrisWheel_2/s_preview.jpg

    Comment


    • #3
      -rwxr-xr-x 1 root root 39342 Sep 21 05:05 /home/[domain]/public_html/tryout/www/template/pro_7-473-1_maroon_ferrisWheel_2/s_preview.jpg*

      and

      -rwxr-xr-x 1 root root 39342 Sep 21 05:05 /home/[domain]/public_html/tryout/www/template/pro_7-473-1_maroon_ferrisWheel_2/s_preview.jpg*
      Hostking | Since 2013 | Web Hosting | WordPress Web Hosting

      Comment


      • #4
        are you sure you ran commands well? Is this file a link at all?

        Comment


        • #5
          If i do it on a folder "template" I get this:

          lrwxrwxrwx 1 fastwebh fastwebh 47 Jan 4 00:00 /home/fastwebh/public_html/tryout/www/template -> /var/cpanel/rvglobalsoft/rvsitebuilder/template/

          but the other command gives me this:

          drwxr-xr-x 3 root root 4096 Aug 27 05:29 18-926-4_darkgreen_production_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:19 18-926-5_maroon_analysis_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:40 18-926-6_maroon_production_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:29 1-921-1_pink_Camera_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:40 1-921-2_pink_Cassette_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:24 1-921-3_red_Camera_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:23 1-921-4_red_Cassette_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:25 1-921-5_blue_Camera_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:36 1-921-6_blue_Cassette_02/
          drwxr-xr-x 3 root root 4096 Aug 27 05:25 1-929-1_lightblue_colorpencil_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:38 1-929-3_pink_colorrize_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:32 1-929-4_lightblue_colorrize_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:39 1-929-5_gold_colorpencil_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:25 1-929-6_gold_colorrize_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:41 1-929-6_pink_colorpencil_1/
          drwxr-xr-x 3 root root 4096 Aug 27 05:39 1-930-1_gold_PosterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:30 1-930-2_gold_WaterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:28 1-930-3_pink_PosterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:37 1-930-4_pink_WaterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:42 1-930-5_red_PosterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:39 1-930-6_red_WaterColor_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:35 1-968-1_pink_OrangeButterfly_2/
          drwxr-xr-x 3 root root 4096 Aug 27 05:33 1-968-2_pink_GreenB

          So I see the problem now due to ownership but if I change it to fastwebh will it not break things?
          Hostking | Since 2013 | Web Hosting | WordPress Web Hosting

          Comment


          • #6
            ah, that is the problem:

            lrwxrwxrwx 1 fastwebh fastwebh 47 Jan 4 00:00 /home/fastwebh/public_html/tryout/www/template -> /var/cpanel/rvglobalsoft/rvsitebuilder/template/

            this link should be owned by root for it to work.
            What SecureLinks prevent, is such links where link by user1 is pointed to file by user2.

            Comment

            Working...
            X