if you create a .txt file in a web, but don't give the web server permission to view it, then goto view it via foswiki (trunk)

you get shown what appears to be a valid but empty topic, which has a created date of whenever you view'd it.

needs to be compared to 1.0, and to wonder what error the user should see

-- SvenDowideit - 30 Mar 2010

Same behaviour in 1.0.9

I'm reluctant to add a check for file write permissions, as this is an edge case - it will only occur as the result of a shell operation on the server.

Therefore confirming, but downgrading to low.

-- CrawfordCurrie - 08 Apr 2010

Checking on 1.1.3, same thing. Briefly looking at Store, it doesn't verify if an open or read fails, only the save actions. We do have the file permission checks in configure that would find this condition, except they are limited to the number of checks performed to keep configure runtime reasonable.

It would probably be better for store to include error handling for every open.

-- GeorgeClark - 13 Mar 2011
 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads