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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permission problems

Status
Not open for further replies.

joeschoe

Programmer
Joined
Jan 13, 2002
Messages
67
Location
IL
My web site runs on an Apache system.
I create files using php.
When I try to delete these files (or modify permissions) using FTP I get permission denied error messages.
The file owner is Apache and the group too.
How can I change the permissions of these files so I can delete them?
 
Make sure that the owner has "write" privelages to the files.

There's always a better way. The fun is trying to find it!
 
see chmod(), chgrp() and chown() on the php documentation.

once you hae created the files, have your page change the owner and group, and you will be ok, possibly changes the permission too (0755) for security.

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top