For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > September 2006 > unlink permission problems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author unlink permission problems
Niel Archer

2006-09-25, 6:57 pm

I have a function that compares two files, and deletes the first if they
are identical. The problem is, that whenever the function attempts to
unlink the file it causes an error "unlink(<filename> ): Permission
denied".

I first tried this using an Administrator account. Then to be sure I
tried a user account, creating the files in that account before running
the script.

I can see no reason why permission is denied. Anyone have an idea?

Niel Archer
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com