https://sourceware.org/bugzilla/show_bug.cgi?id=29022

            Bug ID: 29022
           Summary: 000-permissions files cause problems for backups
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: bugzilla at hadess dot net
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

the debuginfod-client creates 000-permissions files as a way to mark "negative
caching". Unfortunately, that causes permissions problems for backup software,
disk usage checkers, etc. that rely on being able to access the user's own
files.

Given that the usage of those 000-permission files is not even atomic (see
commit 7d64173fb11c66284a408e52d41d15b7755d65d2), is there any reason not to
use the contents of the file, or the name of the file, or some other attribute
like the xattrs as a way to carry that "negative cache" information?

My backup software's log is hundreds of lines of:
Warning:
/home/hadess/.var/app/org.gnome.Totem.Devel/cache/debuginfod_client/d9ebf6de9e98f66a21daca59c8f601a9daa03c5b/debuginfo:
open: [Errno 13] Permission denied:
'/home/hadess/.var/app/org.gnome.Totem.Devel/cache/debuginfod_client/d9ebf6de9e98f66a21daca59c8f601a9daa03c5b/debuginfo'

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to