summaryrefslogtreecommitdiff
path: root/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn')
-rw-r--r--doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn b/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn
new file mode 100644
index 00000000..e3e6e0f9
--- /dev/null
+++ b/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn
@@ -0,0 +1 @@
+I recently added a binary file as privdata (installed with `File.hasPrivContents`). When I `propellor --dump` the property on either Linux or macOS, the contents is correct. Spinning from Linux also works, but spinning from macOS installs a corrupt version of the file. The corruption looks like every valid UTF-8 sequence has been replaced with a single byte which is the lowest byte of the Unicode codepoint encoded by the sequence, so this must have something to do with encodings, but from staring at the source code I can't figure out what. The data from `--dump` is not corrupted which seems especially strange.