LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-18-2005, 04:05 PM   #1
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Rep: Reputation: 15
FTP corrupting files on web...


I have an apache server running on my FC 3 machine.
Every single file I upload using any FTP client I am unable to
download/view. For example
I uploaded "example.html" file that i did here at work to my server
at home, the owner:group were of the user i used ot upload it. When
i goto http://mysite.com/example.html I get a 403 error stating I do
not have permissions to view that file. So I decide to change the owner:
group permissions of that file so I change them to apache:apache and still
403 error.

This was happening with an images folder last week to where
I had to just rebuild the images folder. That thread can be viewed
http://www.linuxquestions.org/questi...hreadid=289888

All i want to be able to do is upload a file via FTP and then goto that webpage
and it work. EVERYTHING i upload with FTP has not permissions for me to download/view regardless if i change it's owner:group and permissions...

What's the problem>???
 
Old 02-21-2005, 07:29 AM   #2
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
**bump
It's been a few days
 
Old 02-21-2005, 07:51 AM   #3
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
it may be a configuration error in your FTP config.

Firstly, which FTP daemon do you use?
Also have you set the correct default umask in the FTP configuration file (the umask should be 022 for world-readable)

---edit---

Also your Apache setup needs to run under the same uid/gid and permissions as your FTP daemon (as in not 'nobody')

Last edited by db391; 02-21-2005 at 07:55 AM.
 
Old 02-23-2005, 11:04 AM   #4
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
I use VSFTP for my daemon

Quote:
Also your Apache setup needs to run under the same uid/gid and permissions as your FTP daemon (as in not 'nobody')
And i'm not quite understanding what you mean by that?
 
  


Reply


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
Binary files keep corrupting stryka Slackware 9 11-19-2005 09:54 AM
CD-Burning corrupting files? logosys Linux - Newbie 2 08-07-2005 11:53 PM
transfer files over the web, ftp, http or other? buffed317 Linux - General 7 03-08-2005 09:25 PM
xcdroast DVD burning corrupting random files?? blames Linux - Newbie 2 10-20-2004 05:46 AM
proftpd corrupting files linux_terror Linux - Software 1 10-19-2004 06:21 PM


All times are GMT -5. The time now is 06:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration