)]}'
{"diskimage_builder/elements/debootstrap/cleanup.d/99-set-bullseye-version":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"625c7c027c37c0fa0b0feb64b50623709be77d6e","unresolved":true,"context_lines":[{"line_number":20,"context_line":"set -eu"},{"line_number":21,"context_line":"set -o pipefail"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"sed -i \u0027s,bullseye/sid,11.0,\u0027 /etc/debian_version"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"16a01b29_e4917343","line":23,"updated":"2021-04-23 19:51:45.000000000","message":"From testing:\n\n + /opt/dib_cache/dib_build.G6y3SkuZ/hooks/cleanup.d/99-set-bullseye-version:main:23 :   sed -i s,bullseye/sid,11.0, /etc/debian_version\n sed: couldn\u0027t open temporary file /etc/sedeDZFmT: Permission denied\n\nI think sed must do the edit in a tmpfile then rename the old file with the newfile? I wonder if it is preserving the old file perms in the process and we just need a sudo to open the tmpfile with write perms.","commit_id":"84b22179a00e4651e6ab1fa79bb43642f8f023c8"}]}
