Check writable permission on file's template