- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Anonymous ftp: cannot upload to /pub
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
03-12-2007 01:23 AM
03-12-2007 01:23 AM
Anonymous ftp: cannot upload to /pub
Anonynous login works OK but file upload fails.
Below is the ftp session output:
----------------------------------------------
# ftp XXXXX
Connected to XXXXX.
220 XXXXX FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34306) Mon Mar 13 11:14:17 GMT 2006) ready.
Name (XXXXX:root): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub
250 CWD command successful.
ftp> lcd /etc
Local directory now /etc
ftp> put passwd
200 PORT command successful.
553 passwd: Permission denied on server. (Upload)
ftp> quit
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 546 bytes in 0 transfers.
221-Thank you for using the FTP service on XXXXX.
221 Goodbye.
----------------------------------------------
I already checke file permissions: see below
root@supsup03:/# ll -R /home/ftp
total 0
dr-xr-xr-x 2 root other 96 Mar 12 14:42 dist
dr-xr-xr-x 2 root other 96 Mar 12 14:42 etc
drwxrwxrwx 2 ftp other 96 Mar 12 14:42 pub
dr-xr-xr-x 4 root other 96 Mar 12 14:42 usr
/home/ftp/dist:
total 0
/home/ftp/etc:
total 48
-r--r--r-- 2 root other 309 Mar 12 14:42 group
-r--r--r-- 2 root other 309 Mar 12 14:42 logingroup
-r--r--r-- 1 root other 930 Mar 12 14:42 passwd
/home/ftp/pub:
total 0
/home/ftp/usr:
total 0
dr-xr-xr-x 2 root other 96 Mar 12 14:42 bin
dr-xr-xr-x 2 root other 96 Mar 12 14:42 lib
/home/ftp/usr/bin:
total 1456
---x--x--x 1 root other 741556 Mar 26 2004 ls
/home/ftp/usr/lib:
total 32
-r--r--r-- 1 root other 16266 Mar 23 2006 tztab
root@supsup03:/#
Any idea is welcome
Regards.
Roland.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 01:34 AM
03-12-2007 01:34 AM
Re: Anonymous ftp: cannot upload to /pub
please read eatlier thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1042835
Also check your /etc/ftpaccess.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have not awarded any points !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 03:01 AM
03-12-2007 03:01 AM
Re: Anonymous ftp: cannot upload to /pub
The most probable cause of not being able to upload to /pub is permissions on pub.
ll -d /pub/
You will probably see permissions on the directory do not permit group other to write.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 03:05 AM
03-12-2007 03:05 AM
Re: Anonymous ftp: cannot upload to /pub
SEP is correct.
Check permission of /pub directory. You may have to assign permission of /pub directory.
Chandan K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 03:12 AM
03-12-2007 03:12 AM
Re: Anonymous ftp: cannot upload to /pub
drwxrwxrwx 2 ftp other 96 Mar 12 14:42 pub