LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2002, 10:55 PM   #1
cfunkho
LQ Newbie
 
Registered: Aug 2002
Posts: 1

Rep: Reputation: 0
Upload permissions


I have some PHP code that allows users to upload files to the web server from their browser. The code works fine on my machine at home, but does not work on the web server.

So I figure it's a permissions problem, and I chmod 777 the folder where the uploaded files are going. Still nothing.

So my question is, are there other settings within Linux or Apache that could be set to prohibit file uploads from the Internet?

Thanks,
Chris Funkhouser
 
Old 09-26-2002, 09:02 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Don't know if this would affect it but what is the umask setting on the files ?? You can try setting the default umask and test it out. Not sure though if this will work though.
 
Old 01-25-2006, 09:52 AM   #3
tr33b1rd
LQ Newbie
 
Registered: Jan 2006
Location: Rochester, NY
Posts: 3

Rep: Reputation: 0
Look at your error_log, and you should see what the problem is there. You may have wrong path information, check all your full server paths to make sure it is trying to upload to the correct directory. If your error_log has an 'open_base_dir' error, you need to add a .conf file with your path information in it. ('domain/conf/vhosts.conf' on a shared server)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPd upload permissions critical Linux - Software 3 08-03-2005 02:03 AM
ProFTPD Upload/Write Permissions Jimbab Linux - Software 3 10-12-2004 11:12 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Changing file permissions on upload guix Linux - General 2 07-05-2004 08:58 AM
Permissions wrong on FTP file upload jwest44 Linux - Newbie 3 06-23-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:13 AM.

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