summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormithrandi2018-08-14 20:30:33 +0000
committeradmin2018-08-14 20:30:33 +0000
commit89a6638d6804f648c369a5b70440e391fdd7def5 (patch)
tree00e49057071e2153863d8bbbae0abd65a605ab77
parent3a6a350458a918c8d7824e999774aab58ab86f81 (diff)
-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.