From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77E713858C52; Mon, 4 Apr 2022 09:42:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77E713858C52 From: "bugzilla at hadess dot net" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/29022] New: 000-permissions files cause problems for backups Date: Mon, 04 Apr 2022 09:42:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla at hadess dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 09:42:32 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29022 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 "negat= ive caching". Unfortunately, that causes permissions problems for backup softwa= re, 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 attrib= ute 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/d9ebf6d= e9e98f66a21daca59c8f601a9daa03c5b/debuginfo: open: [Errno 13] Permission denied: '/home/hadess/.var/app/org.gnome.Totem.Devel/cache/debuginfod_client/d9ebf6= de9e98f66a21daca59c8f601a9daa03c5b/debuginfo' --=20 You are receiving this mail because: You are on the CC list for the bug.=