Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2004, 02:14 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
uploaded file on vsftpd has wrong file attributes

Dear List

Im 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


Old 03-05-2004, 01:44 AM   #2
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
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.
Old 03-06-2004, 10:23 AM   #3
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
See <a href="">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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
vsftpd disallow specific file types from being uploaded GUIPenguin Linux - General 2 04-08-2005 11:04 AM
file attributes binky22 Linux - Newbie 2 09-26-2003 05:17 PM
Proftp-- I can upload now but I can't see the file I just uploaded HELP PLEASE funnyusa Linux - Newbie 4 06-22-2003 04:00 PM
Getting the name and path of an uploaded file in PHP4 Paulo Ges Programming 1 03-30-2003 08:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration