What I'm unsure of is what se-linux context should be.
We can't upload to /var/pub/uploads These are the permissions.
[root@peterlaptop pedro]# ls -l /var/ftp/pub/
total 13372
drwxr-xr-x. 2 pedro pedro 4096 2010-10-23 17:44 downloads
-rw-r--r--. 1 pedro pedro 13674496 2010-10-18 04:10 Rumba.2008.DVDRip.SAMPLE.avi
drwxr-xr-x. 2 pedro pedro 4096 2010-10-18 04:18 Rumba.2008.DVDRip.XviD-VH-PROD.[
www.FilmsBT.com]
drwxrwxrwx. 2 pedro pedro 4096 2010-10-24 07:36 uploads
This is the error from filezilla:
Status: Connecting to 222.94.189.148:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: USER anonymous
Response: 331 Please specify the password.
Command: PASS **************
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Starting upload of C:\Users\npr\Pictures\545px-Xiangqi_Board.svg.png
Command: CWD /pub/uploads
Response: 250 Directory successfully changed.
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (222,94,189,148,127,161).
Command: STOR 545px-Xiangqi_Board.svg.png
Response: 550 Permission denied.
Error: Critical file transfer error
Any tips??