The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ftp - symlink race condition problem

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

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    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

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    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.
     
Loading...

Share This Page