symlink

  1. T

    Need advice on: symlink race condition vulnerability

    Hi, Yesterday I bought a VPS plan with cPanel in CentOS 7 64 bit. Today, I tried to apply the KernelCare patch to address the "symlink race condition vulnerability". This is advised by cPanel here: https://documentation.cpanel.net/display/EA4/Symlink+Race+Condition+Protection The problem is...
  2. J

    Access backups via FTP client?

    Hi /etc/redhat-release:CentOS Linux release 7.6.1810 (Core) /usr/local/cpanel/version:11.78.0.12 /var/cpanel/envtype:standard CPANEL=release I have a 2nd hard disk - /dev/sdb1 - that is mounted as /backup (/dev/sdb1 on /backup type ext4 (rw,relatime,data=ordered)) I have created one directory...
  3. E

    Website owner, very confused about Symlink Protection on Dedi

    Is this my fault as a website owner? Perhaps someone here can answer. I have no idea. I have been having problems with my website served on a dedicated managed server at Hostgator (to say the least). I got very annoyed when yesterday finally my website actually went down as something was...
  4. C

    [CPANEL-22562] User home directory created as symlink to whostmgr docroot

    I've been struggling with transfering accounts from one WHM account to the other, because mail folders are huge. In that process I've created and terminated some accounts multiple times. The last thing I was trying was to create a backup from cPanel, excluding mail/new mail/cur folders. All...
  5. PCZero

    Kernel does not support the prevention of symlink ownership attacks.

    Michael if you read this, the issue in SOLVED - Kernel does not support the prevention of symlink ownership attacks came back after I ran yum update tonight when being advised of a kernel update... Will I see this after EVERY yum update? How do I resolve it. Yes I ran Yum Update and have the...
  6. R

    Symlink gives 500 error

    I am a bit lost here. I've created a symlink to avoid having to have duplicate content for two very similar sites. ln -s /home/user/public_html/addon1.com/assets/ /home/user/public_html/addon2.com/assets The symlink is owned by the user. However whenever I try to access the addon2.com/assets...
  7. N

    Apache Symlink Protection is enabled

    I am getting error via Security Advisor. Also enabled jailshell and EXPERIMENTAL: Jailshell Virtual Hosts using mod_ruid2 but this error still are showing. Please let me know, How to fixing on this issue? Apache Symlink Protection: the Bluehost provided Apache patch is in effect It appears...
  8. WebHostPro

    Can you symlink a folder in cPanel to another partition?

    Hi, I have a dedicated server that is running out of space in the home parition. I was wondering if I can symlink a folder in CPanel to the back up partition where I have a lot of free space available. I tried it but the user stays as root even when I try to change it so the cpanel user can't...
  9. Keeperax

    How does cPanel zip the access-logs symlink?

    I am trying to access the current (active) raw access logs in cPanel through SSH. For that, I found out that the access-logs symlink: lrwxrwxrwx 1 user user 34 Aug 6 03:00 access-logs -> /usr/local/apache/domlogs/user needs to be zipped. Zip is installed on the server but I am unable to zip...
  10. D

    Symlink Vs suPHP on multiple cpanel acconts

    Hi, I'm trying to migrate for a new dedicated server and I've encountered a few setbacks with suPHP as I did not have it before, but I would like to try and keep suPHP enabled since not all accounts in my server belongs to myself and it offers an extra security to my customers. On the other...
  11. T

    scripts symlink problem?

    Hello, i am using WHM version 11.56 i am having an issue with executing scripts inside /scripts directory. if i try to execute the backup command from /scripts/pkgacct i get the error /usr/local/cpanel/3rdparty/bin/perl: symbol lookup error...
  12. L

    symlink to dir in different home directory

    I need to create a symlink to a directory in a different cpanel account (different home directory). Regardless of how I create it (and with what user), the symlink'd directory is unavailable for the account user. I have gone into Service Configuration » Apache Configuration » Global...
  13. keat63

    ftp - symlink race condition problem

    I recently dropped Ruid2 in favour of SUphp with Race Symlink Protection, due to some conflicts with OWASP. When I had Ruid2, i connected to FTP using the root password, and drop them inside a users public_html folder, we could then open the newly ftp'd files via a browser. eg pdf's. Now when...
  14. N

    Missing access-logs symlink

    Hello, I've noticed that in 11.44.17 when creating a new user account via WHM, the access-logs symlink is no longer being created, nor is it created when restoring a cpmove or backup from a server that did have the symlink. I cannot find any mention of access-logs in the changelog, was...
  15. T

    Problem with symlink

    Hi I have symlink's on my site from years. Lately I noticed that if I clicked on the symlink using ftp I will get error: 550 test: No such file or directory But on my web the symlink still work fine. But the normal symlink that comes with my site like @www for public_html is working...
  16. B

    safe to move /usr/share and symlink?

    Hi all, On a running cpanel system would it be safe to move /usr/share to another partition and create a symlink for /usr/share -> /home/usr/share ? Thanks
  17. C

    I lose my symlink when I restart mysql

    A bit ago, I moved my mysql directory from /var/lib/mysql to /home/lib/mysql. In those steps I created a symlink ln -s /home/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock Which worked great. Today, I had to restart mysql through WHM. When I do, it says it failed and mysql isn't running...
  18. R

    symlink to client's public_html dir from main reseller's ftp account

    Hi everyone, my first thread I have a question: is it possible to get access to the client's public_html dir from main reseller's ftp account? We provide free hosting for our client because we are designers of their websites, for maintenance purposes, it would be good to have access to...
  19. H

    symlink not working

    We made a symlink between a cpanel user name backup and a 2nd HDD mounted on /backup with the command [email protected][/home/backup]# ln -s /backup It makes a symlink for /backup to /home/backup/backup instead of making symlink for /backup to /home/backup. Can anyone help what we are doing wrong in it.
  20. N

    symlink with differnet accounts

    When having two domains on a same account (in WHM) I can create a symlink like this: THE DOMAINS: - mydomain1.com - contains folder named 'upload' with images I want to be displayed on mydomain2.com - mydomain2.com - the domain showing the images from mydomain1.com/upload THIS IS A...