Skip to content

Commit ffbaeeb

Browse files
committed
dist-installer-cli: fix, run "chmod o+r" on any created sources list files
1 parent f0d4618 commit ffbaeeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

usr/bin/dist-installer-cli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,6 +1591,8 @@ write_sources_debian() {
15911591

15921592
printf '%s\n' "${url}" | root_cmd tee -- "${file}" ||
15931593
die 1 "${underline}Sources List Writer:${nounderline} Failed to write to file: '${file}'"
1594+
1595+
root_cmd chmod o+r -- "${file}"
15941596
}
15951597

15961598

0 commit comments

Comments
 (0)