Help answer threads with 0 replies.
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 06-11-2002, 04:56 AM   #1
LQ Newbie
Registered: Jan 2002
Location: Pretoria South Africa
Posts: 22

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


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
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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
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 !!!!!


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 > Forums > Linux Forums > Linux - Newbie

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