systemd / casync

Content-Addressable Data Synchronization Tool
1.5k stars 117 forks source link

Ensure scratch file is writable #142

Closed ruuda closed 5 years ago

ruuda commented 6 years ago

Some build environments check out source code as readonly. When it is copied into the scratch dir for the test-cache test, the files are copied as readonly, and appending to README.md in the scratch directory fails. So first make the file writable before appending to it.