GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Ls doesn't work from ftp
Operating System - HP-UX
1850475
Members
2879
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-16-2003 09:11 AM
01-16-2003 09:11 AM
Hello experts,
I am having a funny problem. If I ftp into my server as a regular user, ls works fine but if I do the same thing as "anonymous" then the ls command fails. Before you say anything, there is an ls under /home/ftp/usr/bin, the permissions are ok, and I can execute /home/ftp/usr/bin/ls from the shell. What could possibly explain this?
TIA, Kris
I am having a funny problem. If I ftp into my server as a regular user, ls works fine but if I do the same thing as "anonymous" then the ls command fails. Before you say anything, there is an ls under /home/ftp/usr/bin, the permissions are ok, and I can execute /home/ftp/usr/bin/ls from the shell. What could possibly explain this?
TIA, Kris
Dilbert is my hero.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 09:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 09:15 AM
01-16-2003 09:15 AM
Re: Ls doesn't work from ftp
Hi (again):
I suppose I should explain. When you initiate anonymous ftp it does a chroot() to ftp's home directory. I'll bet you copied /usr/bin/ls and it requires some libraries in /usr to execute. The version is /sbin is statically linked and thus will execute without any other assistance.
I suppose I should explain. When you initiate anonymous ftp it does a chroot() to ftp's home directory. I'll bet you copied /usr/bin/ls and it requires some libraries in /usr to execute. The version is /sbin is statically linked and thus will execute without any other assistance.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 09:22 AM
01-16-2003 09:22 AM
Re: Ls doesn't work from ftp
Hi Clay,
Yep, that did it. Thanks for the quick answer. This place rocks!!!
Kris
Yep, that did it. Thanks for the quick answer. This place rocks!!!
Kris
Dilbert is my hero.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP