test creation of file at unwritable location

Should result in a warning, but not an error necessarily.