set_value: only check write access rights

some files are write-only.  we don't want to refuse to set values
for those files.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>