Solved

proftp problem

Posted on 2006-11-07
4
238 Views
Last Modified: 2013-11-13
I installed the proftp rpm on fedora 5. When I log in as a user using ftp, none of my files show. if I do a pwd I get / which is not my home directory. How to fix this?
0
Comment
Question by:gharnett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 14

Accepted Solution

by:
ppfoong earned 100 total points
ID: 17895407

Edit the file /etc/proftpd.conf and restart the proftpd daemon.

Add the line:

DefaultRoot                     ~


and the default directory after login will become the user's home directory.

Also, double check the home directory of the user inside /etc/passwd to make sure it goes to the correct place.

0
 
LVL 3

Assisted Solution

by:bryanlloydharris
bryanlloydharris earned 100 total points
ID: 17909289
maybe that is a new user who has no files yet?  or possibly all the files are hidden files which start with a dot?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question