A question about groups
Tom H
tomh0665 at gmail.com
Sun Apr 5 15:32:38 UTC 2020
On Sun, Apr 5, 2020 at 5:00 PM Karl Auer <kauer at biplane.com.au> wrote:
> On Sun, 2020-04-05 at 16:35 +0200, Tom H wrote:
>>
>> You're building your package as "root" in a directory that's root-
>> writable only.
>
> Being pedantic: He is building his package in a directory that the _apt
> user cannot write.
>
> He'll have the same problem in any directory except /tmp on a normal
> system, unless he created a suitable directory himself (i.e., a world-
> writable one, preferably with the sticky bit set, or one owned by
> _apt).
Not really.
I don't get this message in my homedir even though it isn't writable
by "_apt". I suspect that the error message is wrong or
incomplete/misleading.
$ pwd
/home/th
$ ll -d ..
drwx------ ... th th ... th/
$ apt-get download mksh
Get:1 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 mksh
amd64 57-7 [532 kB]
$ sudo -i
# pwd
/root
# apt-get download mksh
Get:1 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 mksh
amd64 57-7 [532 kB]
W: Download is performed unsandboxed as root as file
'/root/mksh_57-7_amd64.deb' couldn't be accessed by user '_apt'. -
pkgAcquire::Run (13: Permission denied)
#
More information about the ubuntu-users
mailing list