LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-11-2002, 04:56 AM   #1
Bheki
LQ Newbie
 
Registered: Jan 2002
Location: Pretoria South Africa
Posts: 22

Rep: Reputation: 15
uploading file from the client to the server


hi

can't write file to the server I am getting an error :Warning: Unable to create 'siamad.txt': Permission denied in /var/www/html/projectmanagement/test.php on line 25
Cant copy siamad.txt to siamad.txt.

Please help!!!!
 
Old 06-11-2002, 06:46 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
Do you have write permissions in that directory for the user who is trying to upload the file. 'man chmod' will explain how to change the permissions appropriately.
 
Old 06-11-2002, 07:16 AM   #3
Bheki
LQ Newbie
 
Registered: Jan 2002
Location: Pretoria South Africa
Posts: 22

Original Poster
Rep: Reputation: 15
The user I think should be apache. Because the request is initiated from a php page(which is the client's side). I have chmod the directory to 775 and chown to apache. but still I can not write to the folder. PLEASE HELP !!!!!
 
  


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
Wanted: a Usenet client for uploading binaries Schmurff Linux - Software 2 08-23-2004 09:15 AM
file up/download php client on linux server sam99 Programming 5 03-10-2004 05:06 PM
C++ client application for uploading a file ciocoiuf Programming 1 06-02-2003 06:12 PM
Apache Server Config, Mail Server, & Uploading johan the olive Linux - Networking 5 03-14-2003 11:42 PM
problem uploading file to ftp server hnguy Linux - Newbie 3 11-20-2002 04:16 PM


All times are GMT -5. The time now is 08:18 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