set write permissions (workaround)