Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when download file, permission denied. but file is 0777 mod

Status
Not open for further replies.

andrewxie

Programmer
May 29, 2003
15
US
Hi, all,
I have a website run solaris9 using apache that come with solaris9. I use perl as cgi script. I want to upload files from browser and download file from browser also. right I can upload file and set directory mod777 using perl upload script. but when I download the file, server can't open the file, permission denied. the directory and file owner and group is apache user and group. I created this user and group when I configure httpd.conf file.
am I missing something in httpd.conf file?
anyone any idea?

thanks
andrew
 
unix junky,
I checked the group permissions. they are r-x the read and excute permission. I even used command #chmod -R 777 uploaddir, still can't open the file, but one thing confusing me is I can delete the file from broswer.
 
thank unix junky. I found the problem. the log file write permission denied.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top