Configuration failed due to cp -p

Author: AmadrathCreated Sep 15, 2025Updated Jun 22, 2026
uname: Linux 6.8.0-79-lowlatency #79.1-Ubuntu SMP PREEMPT_DYNAMIC Sat Aug 16 07:14:37 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

The configuration wizard failed during the last step due to lack of support for preserving permissions if copying a file to /tmp (cp -p). Changing the ownership of /tmp did not work. Neither does cp -a. What solved the issue for me, was setting up a temp directory and setting TMPDIR to point to it:

bash
mkdir ~/temp
export TMPDIR=~/temp

It could be, that cp does not allow preservation, when the target is a directory with the sticky bit!? I have found no conclusive explanation for this behavior.