l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 May 30 12:54

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] FTP folder access question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] FTP folder access question

Up spake Ehrhart, Jay on Fri, May 30, 2003 at 12:26:25PM -0700:
> I have loaded a server with Red Hat 8.0.  I installed Pure-FTPD.  Using
> WSFTP client I login and am in my home folder.  The user I am using is
> in the adm and root groups.
> I cannot navigate out of the home folder.  I specify which folder I want
> to login into in WSFTP and it still drops me in my home folder. I
> created a test folder under the root directory and gave myself all
> permissions and set WSFTP to put me there and I end up in my home
> folder.  I can't type in the path in WSFTP and get any where.  WSFTP
> says the folder does not exist.  I tried var and etc and it says folders
> do not exist.
> How do I set this up so I can move up from my home folder and get to
> other folders?  What am I doing wrong?

This is going to sound unhelpful, but why do you WANT to access your root 
directory via FTP?  FTP is an insecure protocol (password transmitted in 
plain text), and if YOU can change important things, then so can bad guys who 
sniff your password.  I *strongly* recommend the use of ssh (secure shell) 
to muck around in your important directories remotely.  It's not a panacea, 
but it's WAY more secure.

On to your problem.  What you're seeing is FTP's chroot'ing feature--when 
the daemon starts up, it's given a directory that it thinks is root.  It 
can't navigate out of it.  This is generally thought of as a GOOD thing.  
That's why you can't see files you know are there--you're not where you 
think you are, you're in a fake '/'.

ssh! ssh!  SSH!

--n twn

"First you prove the problem is impossible, and then you solve 
it."--cryptography professor
Visit www.nicolopolis.com ... digital drivel for a weary world.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.