[Bug 1225962] zypper list-updates no longer works rootless
https://bugzilla.suse.com/show_bug.cgi?id=1225962 https://bugzilla.suse.com/show_bug.cgi?id=1225962#c4 --- Comment #4 from Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com> --- Hi Benjamin, thanks for the input. Indeed, `/var/cache/zypp/raw` is not world readable - I did not notice that: ``` # ls -al /var/cache/zypp total 20 drwxr-xr-x 5 root root 4096 May 14 12:21 . drwxr-xr-x 13 root root 4096 Dec 8 10:29 .. drwxr-xr-x 2 root root 4096 Jun 5 07:55 packages drwxr-x--- 7 root root 4096 Jun 5 07:55 raw drwxr-xr-x 8 root root 4096 Jun 5 07:55 solv ``` `zypper cc -a` and `zypper ref -f` does not help, but manually deleting the directory and `zypper ref` does - it then gets recreated with world permissions: ``` # ls -al /var/cache/zypp total 20 drwxr-xr-x 5 root root 4096 Jun 5 07:56 . drwxr-xr-x 13 root root 4096 Dec 8 10:29 .. drwxr-xr-x 2 root root 4096 Jun 5 07:55 packages drwxr-xr-x 7 root root 4096 Jun 5 07:56 raw drwxr-xr-x 8 root root 4096 Jun 5 07:55 solv ``` And after that, `lu` works without root again as expected. I'll replicate that on all our Tumbleweeds. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com