hi all,
I'm a beginner in php uploading file and using w3schools upload sample. The problem is that when I want to move the uploaded file,I get warning that the permission is denied.I use Linux and I have the complete permission on that directory and the I am the owner of the directory and file.
I would be very grateful If someone can help me.By the way some days ago I wanted to open a file in my directory but I got the permission denied warning!
permission denied!
Moderator: General Moderators
-
persiangulf
- Forum Commoner
- Posts: 30
- Joined: Tue Jan 29, 2008 12:04 pm
Re: permission denied!
Is there any answer?
Re: permission denied!
Who has complete permission? What user? What user is apache running as? Does that user have traverse and write permissions? Does that user have traverse permissions for every parent directory all the way to root?
If that doesn't solve your problem, it could be an SELinux issue.
If that doesn't solve your problem, it could be an SELinux issue.
-
persiangulf
- Forum Commoner
- Posts: 30
- Joined: Tue Jan 29, 2008 12:04 pm
Re: permission denied!
Of course the owner is root but the problem is that I can not even open a file in the site directory in which I am the owner (not the root) and have complete permission on it!