[pmwiki-users] pagelist error msg due to permissions

adam overton a at plus1plus1plus.org
Tue Jul 5 05:10:05 CDT 2011


hi y'all
i'm now getting the following msg on any page with a pagelist:


Warning: fopen(wiki.d/.pageindex,new) [function.fopen]: failed to open stream: Permission denied in /home/user/public_html/wiki/scripts/pagelist.php on line 755
Warning: fputs(): supplied argument is not a valid stream resource in /home/user/public_html/wiki/scripts/pagelist.php on line 767
Warning: fputs(): supplied argument is not a valid stream resource in /home/user/public_html/wiki/scripts/pagelist.php on line 767
Warning: fputs(): supplied argument is not a valid stream resource in /home/user/public_html/wiki/scripts/pagelist.php on line 781

... ad infinitum ... then:

Warning: fclose(): supplied argument is not a valid stream resource in /home/user/public_html/wiki/scripts/pagelist.php on line 785
Warning: unlink(wiki.d/.pageindex) [function.unlink]: Permission denied in /home/user/public_html/wiki/scripts/pagelist.php on line 786
Warning: rename(wiki.d/.pageindex,new,wiki.d/.pageindex) [function.rename]: No such file or directory in /home/user/public_html/wiki/scripts/pagelist.php on line 787


i'm not sure whether this is being caused by:
A. having just updated to the latest pmwiki version a couple weeks ago (after having not updated in awhile)
or
B. my host changing some settings on their server.


the problem seems to be solved by changing the permissions of wiki.d from 755 to 777.
is that a security risk? or is that alright? i had had most folders set to 755 before, and everything seemed to be working fine for quite some time, but now something has changed.

thanks,
adam


(ps - sorry if this has been covered already in a previous post - the gmane search feature seems to be down right now)




More information about the pmwiki-users mailing list