FTPD ls problem on Sol10


 
Thread Tools Search this Thread
Operating Systems Solaris FTPD ls problem on Sol10
# 1  
Old 10-22-2013
FTPD ls problem on Sol10

Hey guys,

i'm pretty sure this is simple enough so i'll go quick. I must be missing something but can't pinpoint it.

NOTE: Yes, i should be using proftpd but the architect team is a pain in the butt and it is not possible right now.

Sol10 FTP server (zoned) MS vista ftp client.

Login is good. Path is good has he sees his home at /

Code:
normal ftp user
ftpuser1:x:204:209:FST FTP:/home/ftpuser1/ftp:/bin/false

/etc/ftpd/ftpaccess
restricted-uid  *

ftp> cd transfer
250 CWD command successful.

ftp> ls
200 PORT command successful.
550 *: No such file or directory.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 0
226 Transfer complete.
ftp : 9 octets reçus en 0,00 secondes à 9000,00 Ko/s.

ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 6
drwxr-xr-x   2 ftpuser1 toto          2 Oct 21 11:54 .
drwxr-xr-x   6 ftpuser1 toto         11 Oct 21 15:17 ..
226 Transfer complete.
ftp : 124 octets reçus en 0,00 secondes à 124000,00 Ko/s.

ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 0
226 Transfer complete.
ftp : 9 octets reçus en 0,00 secondes à 9,00 Ko/s.
ftp> quit

Permission on dir:
ls -ald transfer
drwxr-xr-x   2 ftpuser1 toto          2 Oct 21 11:54 transfer

Now i know ls is from binairy and dir, ls -al and ls -l are from /bin/ls But why would a simple ls give an error like that? Could it be a bug with the ftpd from Oracle/Solaris?

Could it be normal behavior on empty directories (yes the dir is empty).

I do not have the error with filezilla but since its a process app that is doing the ftp right now this doesn't work.

If anybody has a clue i would appreciate the help.

Thanks.

Eric

Last edited by maverick72; 10-23-2013 at 03:56 AM..
# 2  
Old 10-31-2013
Apparently there is code in there somewhere (client?) that turns ls into 'ls *', so the empty dir allows no valid file name from globbing the *. Does it work for 'ls transfer' before the 'cd transfer'?

Have the MS Vista try access via URL ftp://user:password@host/ in IE, any browser or any Windows Explorer window. They might like it better!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Ftpd alarms

Hi, I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please? Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies

2. SuSE

Pure-FTPd [TLS] Login problem

Hello everybody Recently I installed Pure-FTPd and i tried to connect to my server and i try to login using my ID/PW i got always anonymous login.... here what i got, # ftp ftp> open localhost Trying 127.0.0.1... Connected to localhost. 220---------- Welcome to Pure-FTPd ----------... (0 Replies)
Discussion started by: hael
0 Replies

3. Solaris

issues with wu-ftpd 2.6.2 on solaris 9

Hihi, Anyone have encountered any issues with wu-ftpd on solaris 9. There are intermitten error msg 425 can't build data connection with doing ls or get or put files. I have did a sniff and from the sniffer logs I found that the FTP traffic is not using the standard protocol to... (0 Replies)
Discussion started by: ahkimkia
0 Replies

4. Linux

wu-ftpd

Hello everyone! I looking for wu-ftpd latest rpm or sorce package. Anyone have idea where i can find? I need to install on Centos 5. please help. -thanks, :) (4 Replies)
Discussion started by: email-lalit
4 Replies

5. UNIX Desktop Questions & Answers

how to check if a file ftpd to mainframe was actually ftpd

Hi All, I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies

6. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

7. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies

8. Linux

Setting up Wu-FTPD server

Hey, I'm running RH 7.1 and i want to beable to swap files back and from it. I've got Wu-ftpd installed and when i try to connect on my windows box with my root account it says to login so i type root and my password and it says that it's an incorrect login. I know i have to add it to a login... (4 Replies)
Discussion started by: byblyk
4 Replies

9. UNIX for Advanced & Expert Users

ftpd message

hello, On my AIX server 4.3.3.0 the following message appears on the screen: ftpd :Failed dlopen :/usr/lib/libpag.a(shr.o):a file or directory in the path name does not exist. Please help, Thanks . (1 Reply)
Discussion started by: eyounes
1 Replies

10. UNIX for Dummies Questions & Answers

wu-ftpd question

ya i was wondering if there was anyone out there who could show me a good how to page on wu-ftpd ...im running RH 7.1 and i have the update of wu i just need to know how to use it and configure it so the users are limited to their dir and not the whole system .....any help will do ..thx (2 Replies)
Discussion started by: mista_king
2 Replies
Login or Register to Ask a Question