OK Here's my scenario
Solaris 9, ran /usr/sbin/ftpconfig to setup anonymous ftp with home directory of /export/ftp, then added the following lines to /etc/passwd and /etc/shadow
ftp:x:30000:30000:Anonymous FTP:/export/ftp:/bin/false
ftp:NP:6445::::::
Directory Permissions as follows:
# pwd
/export/ftp
# ls -l
total 10
lrwxrwxrwx 1 root bin 9 Sep 1 11:37 bin -> ./usr/bin
d--x--x--x 2 root sys 512 Sep 1 11:37 dev
d--x--x--x 5 root sys 512 Sep 1 11:37 etc
drwxrwxrwx 5 root sys 512 Sep 1 12:33 pub
d--x--x--x 6 root sys 512 Sep 1 11:37 usr
# ls -l pub
total 6
drwxrwxrwx 2 root other 512 Sep 1 12:33 server1
drwxrwxrwx 2 root other 512 Sep 1 12:33 server2
drwxrwxrwx 2 root other 512 Sep 1 12:33 server3
I have setup the .netrc file to allow me to anonymously login to the server, which works fine, I just can't upload a thing! everytime I get this
553 filename: Permission denied on server. (Upload)
I have even restarted the FTP Daemon with the -A flag rather than -a which should stop it using /etc/ftpd/ftpaccess and my banner disappears so that appears to have funtioned, but still no uploads!!!!
Someone pass me the valium and the vodka!!
Solaris 9, ran /usr/sbin/ftpconfig to setup anonymous ftp with home directory of /export/ftp, then added the following lines to /etc/passwd and /etc/shadow
ftp:x:30000:30000:Anonymous FTP:/export/ftp:/bin/false
ftp:NP:6445::::::
Directory Permissions as follows:
# pwd
/export/ftp
# ls -l
total 10
lrwxrwxrwx 1 root bin 9 Sep 1 11:37 bin -> ./usr/bin
d--x--x--x 2 root sys 512 Sep 1 11:37 dev
d--x--x--x 5 root sys 512 Sep 1 11:37 etc
drwxrwxrwx 5 root sys 512 Sep 1 12:33 pub
d--x--x--x 6 root sys 512 Sep 1 11:37 usr
# ls -l pub
total 6
drwxrwxrwx 2 root other 512 Sep 1 12:33 server1
drwxrwxrwx 2 root other 512 Sep 1 12:33 server2
drwxrwxrwx 2 root other 512 Sep 1 12:33 server3
I have setup the .netrc file to allow me to anonymously login to the server, which works fine, I just can't upload a thing! everytime I get this
553 filename: Permission denied on server. (Upload)
I have even restarted the FTP Daemon with the -A flag rather than -a which should stop it using /etc/ftpd/ftpaccess and my banner disappears so that appears to have funtioned, but still no uploads!!!!
Someone pass me the valium and the vodka!!