On 10/24/24 20:01, David Wright wrote:
Because of the ownership:

   $ ls -l /var/cache/apt/archives/
   total 4
   -rw-r----- 1 root root    0 Apr 16  2022 lock
   drwx------ 2 _apt root 4096 Oct 22 19:00 partial
   $

we can assume that _apt is the user that actually downloads packages
(into partial/) before APT installs them. But your assumption that
tmp_sh can be read by any user (including _apt) is wrong: you need
execute permission on all directories traversed along the path, even
when you “know what you're looking for”.

Fair enough.  Should I chmod a+x /root/.synaptic/tmp then, or is there a
nicer way?

Also, I've been running synaptic as "sudo synaptic" and this is the first
time I've got that message.  I used to do "synaptic-pkexec" but it would ask
me for my password each time I ran it, whereas with sudo if I ran it from
the same terminal again within a few minutes, my previous authentication was
good enough.

--
You can't get a leopard to change his spots... You can explain it care-
fully to the leopard, but it will just sit there lookng at you, knowing
that you are made of meat. After a while it will perhaps kill you.
               Geoffrey Pullum, Language Log (2007-01-04)

Reply via email to