Solved

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

Posted on 2016-07-30
1
93 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 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