[BlueOnyx:17892] FTP strangeness

Tigerwolf tigerwolf at tigerden.com
Tue Jun 23 15:01:02 -05 2015


There's 3 machines, all essentially the same, 5106.  Each of these has the 
same group of users designated as system admins.

When attempting to ftp to *ONE* box as *ONE* of the admins, login is 
successful, but the session fails, not finding the user's home dir, though 
it clearly IS there.

Other admin users' homes are ftp accessable with no problem, as are 
various site users who have FTP access.  Shell access to the problem 
user's home is fine.

Ftp fails with "Permission Denied" with PWD command:

   230 User tigerwolf logged in.
   Remote system type is UNIX.
   Using binary mode to transfer files.
   ftp> pwd
   550 PWD: Permission denied

Yet the same user can change to to other directoies:

   ftp> cd /home
   250 CWD command successful
   ftp> pwd
   257 "/home" is the current directory

Working through the directory tree, it gets to the numerical user, but 
there's nothing shown below that:

   ftp> cd .users
   250 CWD command successful
   ftp> ls -al
   227 Entering Passive Mode (98,100,9,15,245,83).
   150 Opening ASCII mode data connection for file list
   drwxr-xr-x   4 root     root         4096 Jun 17 09:59 .
   drwxr-xr-x  14 root     root         4096 Feb  3 05:33 ..
   drwxr-xr-x   3 root     root         4096 Sep  7  2012 112
   drwxr-xr-x   3 root     root         4096 Feb  7 02:05 22
   226 Transfer complete
   ftp> cd 22
   250 CWD command successful
   ftp> ls -al
   227 Entering Passive Mode (98,100,9,15,254,47).
   150 Opening ASCII mode data connection for file list
   drwxr-xr-x   3 root     root         4096 Feb  7 02:05 .
   drwxr-xr-x   4 root     root         4096 Jun 17 09:59 ..
   226 Transfer complete
   ftp>

Yet, there is a directory there when examined from a shell:

   [root at unci 22]# ls -al
   total 12
   drwxr-xr-x 3 root      root  4096 Feb  7 02:05 .
   drwxr-xr-x 4 root      root  4096 Jun 17 09:59 ..
   drwx------ 9 tigerwolf users 4096 Jun 23 14:35 tigerwolf

In the other two machines, the same user exists, and ftp works just fine. 
All permissions on involved directories appear identical.

I'm not sure if this is an ftp problem or maybe something else, but I've 
compared machines and can't figure out what's causing the issue.  The user 
name's not in /etc/ftpusers on any of the boxes, ftp is enabled, hosts 
allow/deny files are OK, and the user can log in and access their home 
from a shell, just not with ftp.

Any ideas?

-- 
=^_^=  Tigerwolf



More information about the Blueonyx mailing list