- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: directory not visible in ftp session
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 03:00 AM
тАО01-12-2009 03:00 AM
Re: directory not visible in ftp session
ftp> ls -dli
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 03:20 AM
тАО01-12-2009 03:20 AM
Re: directory not visible in ftp session
Rats, it doesn't look like it wants to honor those ls(1) options. I don't think quoting them will help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 04:07 AM
тАО01-12-2009 04:07 AM
Re: directory not visible in ftp session
any other option plz ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 04:42 AM
тАО01-12-2009 04:42 AM
Re: directory not visible in ftp session
Well, is it?
If so, FTP LIST ("ls") commands may fail
because the ftp server process can't find an
"ls" program to run (and/or any run-time
libraries which it might need).
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1206014
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=800673
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=7702
[...]
(Forum search for: "ftp ls chroot /sbin/ls")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 04:47 AM
тАО01-12-2009 04:47 AM
Re: directory not visible in ftp session
Better to turn on debugging in the FTP client
program, so that you have some idea what's
actually being sent to the FTP server (than
to curse the darkness).
But if the FTP server is trying to run "ls"
(with or without any particular options), and
it can't find a working "ls", then it won't
matter much what ornate stuff the client
sends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 03:10 PM
тАО01-12-2009 03:10 PM
Re: directory not visible in ftp session
This is what I expected:
ftp> ls -id
227 Entering Passive Mode
150 Opening ASCII mode data connection for /usr/bin/ls.
16 dr-xr-xr-x 5 root other 96 Jul 22 11:25 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 03:05 AM
тАО01-13-2009 03:05 AM
Re: directory not visible in ftp session
Thank you very much for your continuous support and interest taken in order to resolve my problem.
well, i have done some changes in /etc/inetd.conf file as below
#ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
previously it was ..
#ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -d
i removed the "-a" option, and the user is able to view the o/p of "pwd" as well as the "ls" commands.
Though, the problem seems to be solved, the user has got the ablity to delete the files ( under his home directory), which was not the case earlier.
i don't understand the reason behind it, but am sure that you all experts might be knowing the exact cause behind all this.
would anybody like to throw some light on this issue ?
Thank you,
prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 03:26 AM
тАО01-13-2009 03:26 AM
Re: directory not visible in ftp session
What did you have in that file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 05:08 AM
тАО01-13-2009 05:08 AM
Re: directory not visible in ftp session
plz have a look at the /etc/ftpd/ftpaccess file. i have attached here.
Best Regards,
prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2009 09:41 PM
тАО01-13-2009 09:41 PM
Re: directory not visible in ftp session
You have a line that looks strange. Did it get chopped when you pasted it?
renamenoguest,anonymous# rename permission?