Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

ftp - symlink race condition problem

Discussion in 'General Discussion' started by keat63, Apr 1, 2015.

  1. keat63

    keat63 Well-Known Member

    Nov 20, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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 i ftp a pdf, it's given the permissions for the root user, and triggers a symlink race condition, until i modify the owner.

    Is this normal ?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Yes, it's normal for ownership to reflect the username used to upload the files via FTP. I suggest logging in as the account username when uploading or modifying files through FTP.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice