curl as root user not working but works for other users
<p>I'm running into a weird problem when I try to use curl to upload a file to remote server running Red Hat 7.</p>

<p>I can successfully upload on behalf of any users except the root user.</p>

<p>Eg. this command works well</p>

<p><code>curl --ftp-create-dirs -T README.md -u tester:tester ftp://domain/directory/</code></p>

<p>But not working for root user</p>

<p><code>curl --ftp-create-dirs -T README.md -u root:rootusrpwd ftp://domain/directory/</code></p>

<p>The error msg is <code>curl: (67) Access denied: 503</code></p>

<p>I'm sure the username/password for root user is correct because I can ssh into the server as root with them.</p>