From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#67323: 30.0.50; [PATCH] Set a new desktop file to mode 0600
Date: Tue, 21 Nov 2023 14:29:00 +0200
Message-ID: <835y1vi92r.fsf@gnu.org>
References: <87il5v76bn.fsf@ledu-giraud.fr>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="22968"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 67323@debbugs.gnu.org
To: Manuel Giraud <manuel@ledu-giraud.fr>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 21 13:30:17 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1r5PtQ-0005g5-BS
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Nov 2023 13:30:16 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1r5PtA-0000ik-RX; Tue, 21 Nov 2023 07:30:00 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1r5PtA-0000ic-4k
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 07:30:00 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1r5Pt9-0005i4-Ry
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 07:29:59 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1r5PtC-00019a-Dh
 for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 07:30:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 21 Nov 2023 12:30:02 +0000
Resent-Message-ID: <handler.67323.B67323.17005697634338@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 67323
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 67323-submit@debbugs.gnu.org id=B67323.17005697634338
 (code B ref 67323); Tue, 21 Nov 2023 12:30:02 +0000
Original-Received: (at 67323) by debbugs.gnu.org; 21 Nov 2023 12:29:23 +0000
Original-Received: from localhost ([127.0.0.1]:55350 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1r5PsZ-00017u-8X
 for submit@debbugs.gnu.org; Tue, 21 Nov 2023 07:29:23 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1r5PsX-00017g-EZ
 for 67323@debbugs.gnu.org; Tue, 21 Nov 2023 07:29:21 -0500
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1r5PsP-0005c0-4h; Tue, 21 Nov 2023 07:29:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=nT+EkT1M/Q2DZWrBBuH/B/+NHP6Q9UOe4O1u75w3KrM=; b=ZLGn2J033eUP
 SJ8Jr8+4Fq/U9QOOfAQbR9LOs7cUkDsTh+j+5xcsfOrtn5/MIRVOJnBD/aid7Pq1DTUlYPyNnfUWu
 PV3bVJaJ/VtLhwJbzSv5mOdrCU3uP/FeQiIHzppWYQ5W0jXA/nDUN8DIYIBjZbjMT6UjjVzAf8/i6
 DfxW4ykr3WQxzHp23/O3EGAE/hEm4T7sMEF1yF1XFhvBygEBzGfZ3GgER5yv34vgxMI8hIuH66bNb
 PPZ1na6z4M/Eg/m0PfSEfhY1hByI1UN96gEWpYksZDQQlksMBJQ6pEVuqR2t3Ffi5AWwluOBii6ae
 wz+XztoT1Abs/Gsjq+j0lg==;
In-Reply-To: <87il5v76bn.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:274716
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/274716>

> Date: Tue, 21 Nov 2023 11:23:56 +0100
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> As a desktop file can contain some "secret" data, I think it is better
> to make it read/write only to the user by default.  This does not
> prevent the user to later change the mode of this desktop file if he
> wants to "share" it.

We don't do this in other cases, AFAICT, so why do it here?

The users can make this file unreadable by others if they want.

It's a backward-incompatible change in any case.