Removing album doesn't work on IIS7

Removing album in zenphoto on IIS7 and Windows Server 2008 results in permissions error:
Warning: rmdir(D:/inetpub/vhosts/mydomain/httpdocs/zenphoto/albums/test/) [function.rmdir]: Permission denied in D:\inetpub\vhosts\mydomain\httpdocs\zenphoto\zp-core\class-album.php on line 933

All files inside folder are deleted but the folder itself is left. Permissions seems to be all right because simple direct php call rmdir('D:/inetpub/vhosts/mydomain/httpdocs/zenphoto/albums/test/'); succeeds. It looks like the folder is locked before actually deletion. Are there any ideas how to solve it?

Comments

  • acrylian Administrator, Developer
    Well, if the permissons were alright, it would work...:-) Sorry, I neither know anything about IIS nor do we officially support IIS servers. Maybe a user will have an idea.
  • Zenphoto has not locked that folder. It opens the folder, reads the content, then closs the folder before deleting the content, then the folder.
Sign In or Register to comment.