Solved

in.ftpd lists only directories, not files, for a particular user

Posted on 2016-07-30
1
83 Views
Last Modified: 2016-08-02
A wordpress folder and all its subfolders are owned by ftpCustomer.

when ftpCustomer connects via FTP, the wp-content/uploads folder shows only subfolders and files with the S bit in their permission.
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 672
drwxrwsr-x   4 ftpCustomer www-data   4096 Nov  2  2014 1
drwxrwsr-x   5 ftpCustomer www-data   4096 Oct  4  2014 2012
drwxrwsr-x   3 ftpCustomer www-data   4096 Aug 22  2014 2013
drwxrwsr-x  14 ftpCustomer www-data   4096 Nov 24  2014 2014
drwxrwsr-x  14 ftpCustomer www-data   4096 Dec  1  2015 2015
drwxrwsr-x   9 www-data www-data   4096 Jul 14 20:39 2016
-rw-r-Sr--   1 ftpCustomer www-data    375 Feb 22  2015 _input_1_test.php.
-rw-r-Sr--   1 ftpCustomer www-data    375 Feb 22  2015 _input_1_test.php.f8d1f9.bak
-rw-r-Sr--   1 ftpCustomer www-data    375 Feb 22  2015 _input_1_test.php5.bd77aa.bak
drwxrwsr-x  28 ftpCustomer www-data   4096 Jan 16  2015 avatars
drwxr-sr-x   2 ftpCustomer www-data   4096 Aug 22  2014 backupbuddy_backups

Open in new window


Connecting via ssh, I find hundreds of files.  Even via FTP, I find hundreds of files if I connect as a different user.

What would be wrong with the ftpCustomer login so that FTP would return partial results?

Thanks!
0
Comment
Question by:Daniel Wilson
1 Comment
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 0 total points
ID: 41740086
The ftpCustomer user had the wrong home folder.  One character off.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualizing very old guest OS 4 94
Adding more CPU cores to a Linux VM 5 93
Reset Root Password on CentOS 6 4 53
awk variable in printf 1 22
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now