Solved

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

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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