easy step-by-step through ftp?

Keith Mastin kmastin-PzQIwG9Jn9VAFePFGvp55w at public.gmane.org
Sat Oct 25 04:10:06 UTC 2003


> Keith Mastin wrote:
>
>> > aitken-BwLjziHGQLusTnJN9+BGXg at public.gmane.org wrote:
>>
>> > I thought maybe the problem is permissions, so
>> > I did a chmod 777 /locbudrv at the remote PC.
>> > Still I get the above error.
>>
>> Try cd locbudrv ...the preceding slash could be the issue
>
> Sorry, I should have mentioned I already tried that:
>
> ftp> cd locbudrv
> 550 locbudrv: No such file or directory.

Okay then.. whats the result of pwd (print working directory)? Where do
you have the root directory set in the ftp configs?

Is this server for anonymous ftp, real users, ...? What ftp server
software are you running?

Use pwd to find where you are in a system. If you have a secure server it
should show your /home dir as /, meaning you can't go outside of it or see
the system files upstream from the home dir. If you're in an anonymous
server it will again show the ftp root dir and running pwd should show 4
dirs: bin, etc, lib and pub. You need to cd pub to see the files and dirs
inside it.

I think you might benefit from reading up on chroot if your not familiar
with it. It's a good idea if you value your ftp server's integrity.

Cheers,

-- 
Keith
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list