Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 63
AWS RDS 3 66
route 2 traffic streams on single NIC 6 35
Exchange 2010 unable to mount DB due to corruption 11 69
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

911 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

19 Experts available now in Live!

Get 1:1 Help Now