uploaded file on vsftpd has wrong file attributes
Dear List
I´m now on my way, building a small-scale ISP for my friends and I, on a Vectorlinux Box. It has been a rough ride, as this is my first experience with linux but I am slowly getting there. I have a problem with vsftpd. When I want to upload the index.html file to the users folder, there is no problem. The problem first arises when I in Apache are trying to view the homepage I just copied the file into. Then I get a "No Permission" error. It only works when I on my liniux-box changes the file attriubutes for the uploaded file. So how can I tell vsftpd that all uploaded files can be viewed by anyone? Hope you can help Thankyou very much Rune.Kg Denmark |
I'm not sure if this is your problem, but it sounds like apache can't access the webpage. If that is the case then I'd edit the httpd.conf and search for DocumentRoot and edit around there and make a symlink from a folder under the document root to the ftp file. Also check that read permission is granted for others.
Hope this helps. |
See <a href="ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-1.2.1/FAQ">The FAQ</a>, anyways, you need to set local_umask correctly (if the users are logging in) or anon_umask (for anonymous access)
Also says to see "man 5 vsftpd.conf" for file_open_mode |
All times are GMT -5. The time now is 06:00 PM. |