ftp unable to out to dir. a little help please??

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey guys,

I'm relatively new to linux so bear with me....

I've setup an apache server (fedora 14) and created 3 virtual hosts.

The virtual host root dir are;

/srv/www/website1/public_html
/srv/www/website2/public_html
/srv/www/website3/public_html

I've installed vsftpd and set the 'user_config_dir' option.

I've then created 3 users, 'web1', 'web2', 'web3' and each has it's own file in the defined user_config_dir with only one line, 'local_root=...path...to...root...as..above'

I've set my sites up in dreamweaver (now on my laptop) and can connect to the sites fine. I can see that I'mm in the correct web roots as I've detailed above but it wont let me put any files to the server.

I checked the permissions on the web roots, and all folders read 'root:root' so I changed the 'public_html' folder to read 'web1:apache'. this now allows me to create a file using vi and save it. (yes, I su'ed to 'web1' before creating the file) so I know that the permissions are ok.

Thing is, I'm still unable to put any files.

Any ideas?
 
Man of Honour
Joined
18 Oct 2002
Posts
7,097
Probably a good idea post your vsftpd config file, are the users setup as real users or virtual ones? If they're virtual, the website root dir needs to have permissions given so that vsftpd can write to it if you know what I mean.
 
Back
Top Bottom