libera/#devuan/ Friday, 2021-04-30

chattyadamHello! I've been unable to setup challenge response with keepassxc and yubikey because it is not detected. If the yubikey is detected just fine outside of keepassxc.00:14
chattyadamCould that be a Udev issue or Us permissions?00:14
xrogaandunno, does keepass has logs or a debug mode?00:31
Junicchirecently everytime i install from a deb file i get "N: Download is performed unsandboxed as root as file XXX.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)21:52
Junicchithis started to happend after i performed apt update, any known solutions?21:53
rwpJunicchi, What is the exact command you are running?22:21
rwpJunicchi, Normally /var/cache/apt/archives/partial is owned by the _apt user.  But if for whatever reason that fails (Permission denied in your case) then the download is done as root and that warning message printed.22:21
rwpNormally when run as root it will run a non-priviledged process as the _apt user for the download.  This is sometimes defeated by people trying to avoid running as root, breaking the strategy and actually causing more risk by forcing the run as root.22:22
rwpIt's also possible that people have a .deb file "in hand" in the local directory but it is not readable by all (including _apt) and therefore installing the ./foo.deb file must use root to read that file.  In which case chmod a+r to the ./foo.deb file to make it readable by all (including _apt).22:25
Junicchirwp: i was using sudo apt install ./foo.deb22:38
Junicchiwill try a+r permissons but weird thing is that i already installed tons of packages before until updating apt22:40
rwpJunicchi, In that case with your updated description I think it likely that it was permissions on the ./foo.deb file that were not a+r as that would cause the message.23:15
rwpAnd then I think that your other foo-other.deb files were a+r and therefore they did not trigger any warnings.23:16
rwpAnd of course doing a normal installation from the network will automatically have the correct permissions so again no warnings there.23:17

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!