check writable folder