Why am i getting permission denied in SCP for a local file as root?
<p>I am trying to copy a file <code>f</code> I created on my local machine to a remote one (to the home directory of my user there) by SCP. I have root privileges on my machine, but after executing:  </p>

<pre><code>scp f username@remote.edu:/  
</code></pre>

<p>I get:  </p>

<pre><code>scp: /f: Permission denied  
</code></pre>

<p>Also  </p>

<pre><code>ls -l f  
</code></pre>

<p>returns:  </p>

<pre><code>-rw-rw-r--  
</code></pre>

<p>I'm confused, shouldn't i be able to copy it as root? Or even without it given the permissions?</p>