LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-04-2004, 01:14 PM   #1
rune.kg
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
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
 
Old 03-05-2004, 12:44 AM   #2
KDE4me
Member
 
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, 09:23 AM   #3
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
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
 
  


Reply



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 03:15 AM
vsftpd disallow specific file types from being uploaded GUIPenguin Linux - General 2 04-08-2005 10:04 AM
file attributes binky22 Linux - Newbie 2 09-26-2003 04: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 03:00 PM
Getting the name and path of an uploaded file in PHP4 Paulo Góes Programming 1 03-30-2003 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 PM.

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