Operating System - HP-UX
1854817 Members
33699 Online
104103 Solutions
New Discussion

Re: Anonymous FTP upload problem to /pub

 
TheJuiceman
Super Advisor

Anonymous FTP upload problem to /pub

I recently setup Anonymous FTP on my system. Everything seems fine, except I get the following message when trying to upload to /pub:

550 fchown: Invalid argument.

It will write the file with 0 bytes. I have /pub set with 1733 perms and root:other as the owner. I also have the upload line in /etc/ftpd/ftpaccess looking like this...

upload /home/ftp /pub yes nobody nogroup 0600 dirs

What am I missing? Thanks.
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: Anonymous FTP upload problem to /pub

What does getprivgrp(1) show? If that doesn't allow you to use CHOWN, then you may be getting that in ftp.
skt_skt
Honored Contributor

Re: Anonymous FTP upload problem to /pub

is the command suppose to be chown or chmod? (assuming he given argument is 550)