Junior Member
Junior Member
xeo   09-02-2010, 00:42
#1

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?

Administrator
Administrator
acrylian   09-02-2010, 10:42
#2

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.

Member
Member
sbillard   11-02-2010, 21:21
#3

Zenphoto has not locked that folder. It opens the folder, reads the content, then closs the folder before deleting the content, then the folder.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.