test write permissions of repo