[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#953957: [live-build] W: Download is performed unsandboxed as root as file '<file>.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)



Package: live-build
Version: 1:20191221

744141c60f55144b4d8944ba0d745adcc4b34116 (from MR #97) tried to fix the
bug of the source stage generating permissions related warnings when
downloading source packages.

the original fix submitted in the MR was to set the permissions of the
download directory to 777. the reviewer requested that instead
ownership be set to _apt:root, which was the version of the commit that
then got merged.

unfortunately this modified solution does not work. i do not know why
this was not caught at the time, whether i did not bother to test since
it seemed so obvious that it should work, or whether something went
wrong with conducting a fresh test, but re-running the source stage now
i see that the problem still exists.

i have been playing around with trying to figure out a suitable
alternative to properly solve this but not been successful so far.

submitting this as a bug report to ensure that a record is made in case
i don't find a solution / i end up forgetting about this / someone else
can find a solution in the meantime.


Reply to: