- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: anon ftp issue
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
Forums
Discussions
Discussions
Discussions
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
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
11-21-2008 09:42 AM
11-21-2008 09:42 AM
anon ftp issue
257 "/" is current directory.
ftp> put ypservers
200 PORT command successful.
553 ypse: Permission denied on server. (Upload)
ftp> o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 09:51 AM
11-21-2008 09:51 AM
Re: anon ftp issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 09:55 AM
11-21-2008 09:55 AM
Re: anon ftp issue
the base directory is not writeable (and shouldn't be), as explained in the man pages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 10:45 AM
11-21-2008 10:45 AM
Re: anon ftp issue
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 02:36 PM
11-21-2008 02:36 PM
Re: anon ftp issue
1. There is already a same file exists there with permission not available to you.
2. You need to add the ftp's shell name to file /etc/shells, which might need to be created by you as 644 owned by root:sys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 05:06 PM
11-21-2008 05:06 PM
Re: anon ftp issue
This is not a useful description of the
system or its operating system. "uname -a"?
(Or of its FTP server.)
Knowing nothing, I'd guess that your FTP
server is affected by a configuration file,
like /etc/ftpd/ftpaccess. "man ftpd"?
What's in _your_ ftpaccess file?
Conventionally, anonymous FTP servers do not
allow anyone on the planet to upload files
to them. "man ftpaccess", look for "upload"?
> Looks like you don't have write access to
> the directory you are trying to upload to.
It probably does look like that, but an
anonymous FTP user is actually anonymous, so
the ordinary (user/group-based) permissions
do not apply in the usual way in this case.
> There could be two reasons.
There could be many other reasons, too, many
of which are more likely than these two.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 06:58 PM
11-21-2008 06:58 PM
Re: anon ftp issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 07:53 PM
11-21-2008 07:53 PM
Re: anon ftp issue
> stated in syslog.log
If it were the reason 2 as you said, then how
would the user get logged in in the first
place?
Reason 1 as you said is about as likely as
reason 2. Have you ever observed this error
message as the result of trying to overwrite
an existing file? (I haven't.)
A Google search for the error message
(quoted) should find several discussions of
the actual problem.
It might also be useful to show an "ls -l"
report for the "~ftp" directory.
> 257 "/" is current directory.
> ftp> put ypservers
Also, it's unusual to allow uploads to the
anonymous FTP "/" directory. ("/incoming" is
more common. "/incoming" is also one of the
first places which common FTP server attacks
will try, so I would avoid that name.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 08:19 PM
11-21-2008 08:19 PM
Re: anon ftp issue
> reason 2. Have you ever observed this error
> message as the result of trying to overwrite
> an existing file? (I haven't.)
In fact, if you have an (enabled) ftpaccess
file, you _can_ get this one:
553
One way (perhaps the only way) to get this
one:
553
is to have an (enabled) ftpaccess file, but
not to have an appropriate "upload" directive
in it for the destination directory.
(Without an (enabled) ftpaccess file, the
"(Upload)" part of that message tends to be
missing, so I'd guess that we have one.)
Also interesting:
grep '^ftp' /etc/inetd.conf
"-a" can be useful. ("man ftpd", again.)
But, as I said, the messages suggest that
we're using an ftpaccess file, so I wouldn't
expect that to be the problem here.
Without an (enabled) ftpaccess file,
overwrites are permitted, and a permission
(or owner) problem on the destination
directory gives an error message without the
"(Upload)", like:
553
But, hey. Show me some evidence instead of
pontificating stuff which I can't believe,
and you might persuade me that you know more
than you seem to.