Solved

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

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

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" …
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,…
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…
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.

759 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

20 Experts available now in Live!

Get 1:1 Help Now