Re: permission denied trying to FTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adam Lang wrote:

> Hello.  Having a problem that I haven't been able to find out exactly why it
> is happening.
> 
> I am logged in as superuser and in the home directory.  I open ftp to
> another one of my servers using a non-su account on the other server (which
> the account name exists on originating server as well).
> 
> I do a send using absolute path to the file in a different directory.  I get
> permission denied.  Now, if I cd to the directory the file resides then
> start ftp, I can send it fine.
> 
> Any ideas?

If you "put" a file using an absolute path, it uses that path for both
the local and remote filenames, so the account needs permission to
write to the specified directory on the server.

-- 
Glynn Clements <glynn.clements@xxxxxxxxxx>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux