Michael Albinus <michael.albinus@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 20 Mar 2023 11:44:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 20 07:44:36 2023 Received: from localhost ([127.0.0.1]:53826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1peDwJ-0003RZ-RH for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:44:36 -0400 Received: from mout.gmx.net ([212.227.15.18]:37977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1peDwA-0003RD-Nb for 62260 <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:44:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679312660; i=michael.albinus@HIDDEN; bh=8p9iLESULWke20oB7AnLrIFApNrdDlOwhTlTEvjlLK0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=jZ3deFmrdtFUc4TumcojVkzxDsI/oQOaHgvOMQAeJWXJVHYv3UoULvh5G9NwX5Jvt kHcsku8X63MRur0Yl4u/J4RbXZpZ1f28No4gdzNCQPrOd3uBwioQxijpGxV7mUj6uf sQ8Gg/Lm9oUrD+7W90e2lH1vg7uJc0StWbvk0QLL/wU2dRn3vMBFcTTmiymW6ZEPbq 8fBrprci9QyDbRd2z0zxOWO4ZeBn4MDwyD9w1ciF307lwlmi4bKojJ/7D16DvjKbbF kwOHJ2Aa445BwUmW407WoRv+6AWPek3b/kZMfguU7kSUznRUQh4EknuPUJ7EFAnlJq 067WgWmQHAMLg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Ma20k-1q1IjQ2pJU-00W0f7; Mon, 20 Mar 2023 12:44:20 +0100 From: Michael Albinus <michael.albinus@HIDDEN> To: Manuel Giraud <manuel@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <87r0tk6d09.fsf@HIDDEN> (Manuel Giraud's message of "Sun, 19 Mar 2023 15:18:14 +0100") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> <87r0tk6d09.fsf@HIDDEN> Date: Mon, 20 Mar 2023 12:44:20 +0100 Message-ID: <87r0tj1wbv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:gucA1KJAFcHTAVb0YOsGHZgV+MTwdWAg8lmzSZDVCmnKANV2a+x hxQgdFzLLC8NVxiWb1PdLdrRq86zGW8AzYLS1qfm9E5oy4miTkzpqmHIm3NVcyzt6kIyMWL hWakbY7GtlAXXCkAa4PLmCNHil2fWZfm7RGgh+w/rFOwGfSeFv4/WpvF6Yp40RNT5Cj8MDt iW8Mriz0tOzgWlNgal5fQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:rj8lNlb+7QU=;baZigRbSr1oqKy2PKSQkrVvN3tR NO+2vKTe+sSyWwUrs01h5S+I44CkUFs/iBLjVx4t6bFyGSfu5+j+Ayd5zE1D/yv56qln3BDqh s+jdmQrzro5O8+PaUqGlqBZMSUGkAEfcJoKMY+sgOnzQe+eLwwwIsl79GwDvsbdXb0GpcjWck NFexy0tAx5JBY0jocdvNCpLsy7YgZ191NoT+Yc0ig1JR9TQcgiwzCk2PFW/+jSLNSliMw/dqN L4zPetezzltJKHW6ecFrKuJwymRxnkgxf7aNn3hG+RsHKiF5yss1gEUkw16mz861RUhlxJr33 nmkBeCk+hKGT8/Lm+VNMO5WdBfjMtdz2y0QzoDzzSCAZFOhDpw5+zoU/U9zWT5Wv9XHC1n791 2mPenLQCjGdKlGg8wSxJImrG0nlqbN+ciXHZDYxYOo2vR1aapZ8U3Yk7crDYz509Qd0BNqgwu 8VaFa+vHi2Uws6d5utJdD8n3uasBZfMRkRmlkiVWoiXu9WuG4jdqhm8Xm6aNxoj8+FKxydRU8 1m+vSGEYSB+2KXwfxozJRtCd3c05AlTrrsfO5fFa0mdDT8tBoPCkGsdyzf7ekQkQMkb5NTCZd obJUId+qZU57u6ciM+JLHmB4TeaZydbmGbh4oVG79eqWiq5hz98AkuYbxadiD1zojTABAAm5H TSc0QCLTbQYJuRTCxH85IFDIONs50iG0m5c1MS8/kT9KPZ0sCvkqgHH17qq3ivua8XTCrb1XW XStXXmG+qwLpnBNC3ikoiyjhuv6XVAYtYW1ccwr/+kSEUYejtQCS9hD1IFaBPAWyFxrO7B9m1 uEoHIoLQq7mKIvgSYb8PL2uiBEXInFK9cNG/x/FrH6C57yxSNsYOqjE3WeFRs260HYv58xKdQ aaBN2FQVci5OSkbdLTquaKxnEzpqS5fHwpfEksNSdjetKXHlWuJJNjYy+tUTui2A/fwxi9ZY/ Y5DH8OS6m33s+nRZw/ensPNFlFg= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62260 Cc: Eli Zaretskii <eliz@HIDDEN>, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Manuel Giraud <manuel@HIDDEN> writes: Hi Manual, >> There's also bug#57395 with a related (but not identical) topic. > > I've read bug#57395 and it is related of what I try to achieve. It is > even more precise about which files are dangerous and which are not. Thanks for the confirmation. I'll merge both bugs then. Best regards, Michael.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 20 Mar 2023 11:43:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 20 07:43:21 2023 Received: from localhost ([127.0.0.1]:53822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1peDv7-0003PX-EZ for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:43:21 -0400 Received: from mout.gmx.net ([212.227.17.20]:42073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1peDv6-0003PK-5K for 62260 <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:43:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679312593; i=michael.albinus@HIDDEN; bh=b6veIPy2IcB3zepA8PLMdPzNwK3eBHZgFBybZYnILE8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=DcWj+LEtIlbE7lxKUVEmMqhdkmdmnpL2SlRJLLBLE4NLGB5RQEpfPfDrikGZeE8mn 9l1ogvgXrZa/QZ1j4zfhq+WjENy9kABt2+oj8oJpi3sjZWD2CVetlWW/UwMwgGIslT QL7sPXd9MRbW7F8HA7LNbsBIKaJU4GFjDROzDfO8XxjOzhq5rDg9MNa9y3hPs1ellU jDPp7tfR2kHjhJeOJw6U+DgBAv53eveIcFUNs1NdRFAGP8Kp53MFhLFIDuKe0JMQiJ lBFr9SzhkYmy8BUmpCOk35Ovy3w5E3pZaUZiCACXkTto8jzm26wr/ubZMnc1V+9hen pJk/amQjFT62g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M9Fjb-1pblCw28vv-006PiR; Mon, 20 Mar 2023 12:43:13 +0100 From: Michael Albinus <michael.albinus@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <83jzzcal1l.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 19 Mar 2023 16:11:02 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> <83jzzcal1l.fsf@HIDDEN> Date: Mon, 20 Mar 2023 12:43:12 +0100 Message-ID: <87v8iv1wdr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:mtxVrllAk0SaRf+HbWpMmhK+mSX6WpWqKjoJqWSDRwCOHroiqyP wTqtUb3TdnF3ugr3pkFRRtKI1Rhg7XOSuTiuIQXzxInPLNpD8rtTKxRV3TzWNtXR9RUs9VR weA8GUaLhBjftl9Lu09ucAVG4AE1xX9xONrry5mpasNnEbN8IxO8zGWId5XOb/psj7WxW72 xxSVCyqKYijHPs7YcHrPg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:2PAK87C61EI=;G29SEWpH9Op1nH+G4W3AZmN4Vmr H6GXS8ZbIPrvi7VKWoW0b07skH8YYTQ+s14czo79xD6Pn5AvAE5zL1OeLkw8n2xasHplMRItF 2SczV3vDaAIpRbAh0cpD0Sx89AvcOFQaBeZeylG71ToWhEa0u1EAsk6+ahY+xxjyeizpo9tKH BGbHikGNQTOB2l7Vfz2rZya0xtfzm3pSEfHogOIqOsY0UhJbr/rm3mXABBWSgp4rFenjYEPo7 7FAhM6op8KZRly86aNc29uUk92STGu8cXfuX83ShpLJF8IW3a8zZwjXVaHlXjLqVANrMmsTKs 7j8vUhxJRp1L9cOo2HceIaPRsag51I9wOm8mvzPMYw51rX0CCY89xftea/jbEWKbDPVFi0Wpe W2i1TP/vXNEt+d2TeqJL088Sx6GXpBVzvZo8EY4QkSul4u22shhgRJ3dtX7bBzHENMspDfq9I pBvhl8YwnmnVkV8JkgOKZlgjcQPt1KFO8/WMOo9EEss4jiA/xuI8ppsHvM49NrQvbp59soZwY pvlROsLfmtkcgkUZzmP0yFdDOebTB6idwT2kHXzrzpqLbO/F/crb43f2c2WZ5Ar4FWs8KAV3C lMaSsIKzrgZPQ0OzzaSYNrHnPJGY4cExt/jgDMKfPKznkG7s1dPKLwvn105R46ocdlf2C8INL eYtSaP7b3tqRPxVzqsD++bXcUo31FP9VEZo0GhARHF523sv7ldaJNusqRcbGpgj+QuqWV14xf okeLSJ53lbTw3mBjzhxNd0PmgIwBAu1X7kuZpEVHl4l8Ob/jFGRURUBr83YfrqDBGq6//pnbY zN35KqKHwxEQ3rhRtx5JhU2gJc0mhnOh3gjDATkMbhkgNLmGrVi84uQ6m74uHSjfdKM6HlGCP qLfjXWN9RU9u+KX3DfUaL6VYT8HfPhV/FCncFZcBzvV2lzKGQ9VGbaPb4WB7qqpaclkLUD4xZ Bye6ziB9lWjYNCB/jTIVp2w+szw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62260 Cc: manuel@HIDDEN, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> writes: Hi Eli, > If by "Tramp has no influence on the permissions of the auto-saved > file" you mean the permissions are determined by the file, not by > Tramp, then I agree. This simply follows what we do with local files, > just by calling an Emacs primitive instead of fstatat. That's what I mean, yes. Best regards, Michael.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 20 Mar 2023 11:41:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 20 07:41:45 2023 Received: from localhost ([127.0.0.1]:53818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1peDtZ-0003Mw-10 for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:41:45 -0400 Received: from mout.gmx.net ([212.227.15.18]:35561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1peDtW-0003Mi-TH for 62260 <at> debbugs.gnu.org; Mon, 20 Mar 2023 07:41:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679312496; i=michael.albinus@HIDDEN; bh=Ov1piNDI6NQJ2Y+8Ze58g7+Dgcqh+WKGEsNJTDIu1jE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=erYbV2rf+IJN871PQv/63ziXT+SauUhe4TwgKLRQhAeFZTS8nt9zBruUEwaI3BZJW Gyy1DqWIAoVVWAU5XjmGybb1PWvFpEqP/Eh023kPhukVRQlm6RDm3/9aTHHfQyJ+58 aFzkGtKHcTw0RFx20Tp1xnG4Ib/+Ym9CzhmceI++Gqx2CR11nELZfD/zoDqwafz7Fl LoN+i9lKOBoAK2oImli8Y8zjWSEOddT1UUV+tmU1bdl5Nptpc7JMhgdJ2dbfCI6VJ9 CPTxHWnm2IowkqoUEX6GoGrGE9QQ5l4EwCNW1I0Zi5dBSFAFeYXzj8LEyk8Z0MMeRk 30febb/YPsDqA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N9dsV-1qaua245X3-015bX0; Mon, 20 Mar 2023 12:41:36 +0100 From: Michael Albinus <michael.albinus@HIDDEN> To: Manuel Giraud <manuel@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <87v8iw6e0v.fsf@HIDDEN> (Manuel Giraud's message of "Sun, 19 Mar 2023 14:56:16 +0100") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> <87v8iw6e0v.fsf@HIDDEN> Date: Mon, 20 Mar 2023 12:41:34 +0100 Message-ID: <87zg871wgh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:R5fcGprUmmgZ+PWpUVLMiqnQlchW9yNcDw+g790th19mv7bb77c 46+0ikNEjkjBHhjw/7PrF0x6VZb/JyFAafWuLZEmOnO9v2R/qeJDrqRXNNbcNqieSX18qMr rkT6WB3X79+HSA1Ltk9fvMjeGiFRXFLUt48b48RdxcAMi82GjMG40imFny/BsdgE1WJT1n7 kddC2tV35bWgiCj8pLkRw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:3nH4nBDZbt0=;ojz9Swj/Fahpt/qEoR2BQOND0Sq Q8LN/pW9jLmfe1Wz/g3CHGTyPMy6x4PVKmOAqwHRAW1hhG/lZ4z8d+IXVTbBKcKFilO81B0jL dsqoKTZUaF7znJifQ53HgXrfHeKX09AncKE1egiCAIJkxYl0yn2jekaO8AxrJvptdNy+kSvQg WMniV4oAriC3NSbwa11xIUV13GrBxVFN6vYvI1NNWlbbb0lY+TbLMFmHnJbfYbEYGiQOza+uk fXYLLuZcQjQLcOQlXRsNGf+0pnR6Vj75yZB0VCSLaan0A7APlZTfh9pf8SavK/MOyncx9bFbw JmHzG5ltyU1utvqy8+F0f5UHySGXm8K9lZ0gFTcd6Tfj7Xpjm8n/9OXTezO/dd9pMWOgbQ7zz gbBgKJcoXYwmHjHuR6lqu5IQPzgTRLg+sxx0ILl6Vq66aT9Cr9KqVh+ugc1ZcDa1zvNYOIPw3 XlYv9pZsLRMG7stUkQzU7G2JINrNoErJZ1SwxWSA+ShZi5GsKs1Md/BzPVcBfW9A2Lw1V5S9r WlAWz2tejDV8zMU+8s28M01cD5hFWx8aiRLpg33hWqYxbDZmPfXXfnzy9mDnB6HJiS+WZnpII hAggHwVkcwTS2qxgYziND9pklXXnxvBRjU7qbXtluuV/uYGL0sE+5YisQy70JQoRTge1AozPj YSa15014a3aTjL9OsTlhX1hXYMJREWtLMLlJ/SVxwcA2JeC0xVO9x7jvkusVFxk6gQRot8zWa w8p21MJI5D4ZYOnwxsIUE1UjgUDSv2GzAgke2dO67abrQYFi3piLnzuNdPfEvbyjMypAUNezK 3qdX9BzpOWWmVzKSoOlW8ipJyQcwN0mY0tyYZBLmzeLwvza0wrrVq8D5Z6KxhV53nW1KHPFbu Yr+ya/RVXLETnRdndD3MFQTIjB2tSHtHBDuZV+cmHQmPwBHZqnXpyRMFOhE8BmBKn67g6ciEx s0dkPA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62260 Cc: Eli Zaretskii <eliz@HIDDEN>, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Manuel Giraud <manuel@HIDDEN> writes: > Hi Michael, Hi Manuel, > Thanks for your inputs. I have tried with > 'auto-save-file-name-transforms' like this: > > (add-to-list 'auto-save-file-name-transforms > '("\\`/\\(?:doas\\|ksu\\|su\\(?:do\\)?\\):.*\\'" "/dev/null" nil)) > > But now, auto-save tries to create "/dev/#null#". How can I fix it to > "/dev/null"? auto-save-file-name-transforms does not know the meaning of "/dev/null", it handles it like an ordinary file name. The following code snippet shall do what you want instead (untested): --8<---------------cut here---------------start------------->8--- (defun my-find-file-hook () (and buffer-file-name (member (file-remote-p buffer-file-name 'method) '("doas" "ksu" "su" "sudo")) (auto-save-mode 0))) (add-hook 'find-file-hook 'my-find-file-hook) --8<---------------cut here---------------end--------------->8--- @Eli: We have already remote-file-name-inhibit-auto-save-visited. Shall we define another user option remote-file-name-inhibit-auto-save, which could be used similarly? Best regards, Michael.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 14:18:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 10:18:20 2023 Received: from localhost ([127.0.0.1]:52551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdtrY-000584-4m for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 10:18:20 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:48498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdtrV-00057v-Ao for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 10:18:18 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=E1zNADcj d30sOTSJBtDhO44aJeNn2k2FGukCq+EUzcQ=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=SjW19kmC6lTaAssHZsXCZM4ZtBIgti QL+YzAyvN1RkIuRMp4AKdBFpWL/Rp+tomcVKGy8cM8i5gEQ5kEB9YkDA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=E1zNADcjd30sOTSJ BtDhO44aJeNn2k2FGukCq+EUzcQ=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=bZUnPpJFS1a8hb5H7Z2zS1jYA21uyT7gySCdgv X79UX8UQ3gZuRa5ZpUD3n/7N/6TX+yOIgDiBwM+RR4kewO7NthwPEJ1EJDGTPly9Ukg+xF AtCEu9Z3Z1u7rkmDS7Vp5MZ7NeuQyTLmN1B/WyCxHPlY1TmTEAW2xAHsd/ut8At2vx6YEr 37cFxiZXqbwp/Iuuxmi0d6oYgEU97Zjz073DK1ZDnv4DqlpvHCfyYW0hIR2G26twOZYQJD 57oMBj1Kv9ljOwuxJNEGsTMVL5DhYfWTwEjQ+OM7NAVM8IzeUO4ZiWzrboZZftqO4RBjYR EXE2PmgkXTf1M3nBJKko3Mag== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id b9b429a7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 19 Mar 2023 15:18:15 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Michael Albinus <michael.albinus@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <87r0tksyma.fsf@HIDDEN> (Michael Albinus's message of "Sun, 19 Mar 2023 13:40:29 +0100") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> Date: Sun, 19 Mar 2023 15:18:14 +0100 Message-ID: <87r0tk6d09.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: Eli Zaretskii <eliz@HIDDEN>, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Michael Albinus <michael.albinus@HIDDEN> writes: > There's also bug#57395 with a related (but not identical) topic. I've read bug#57395 and it is related of what I try to achieve. It is even more precise about which files are dangerous and which are not. -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 14:11:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 10:11:05 2023 Received: from localhost ([127.0.0.1]:52546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdtkX-0004wc-6G for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 10:11:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdtkU-0004w7-Pr for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 10:11:03 -0400 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@HIDDEN>) id 1pdtkO-0005lK-L0; Sun, 19 Mar 2023 10:10:56 -0400 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=yTNliXfTWcu827C8wuWeKrtZnTLp8F4mSCAGWSPa/KE=; b=Ok1rLMn3/w8R 2EXZOyZtnQSWhoOHSZ2EPHUoUNFJfqfQzc+N4jtehGOuhwhvRiOURBk5uHiWe01RcNNmsStYpf/Yj +fl9WBMp9/VQe9mmSwAjlZYsjSoez36d8VcH+mSPPI0YCYJd1Isd+rCDRxuYVA7xMGeLVUCnBUgdi DZqPl+0zWdwqV6ZYukqwcm87xoP6nLLeuQH9uSmt5jzg5xBU18ospcx49u4JL2H72hQx8LfUn88q4 j2N/fTRgm98AZK9plL3dwo77WcIZD2lu4YZ2pDYSx9rF4loIagira4a6GAiWwQFxSktYzvXG5qv7R VJdT1F85pYijlkD6uG9oVg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdtkO-0003XA-5r; Sun, 19 Mar 2023 10:10:56 -0400 Date: Sun, 19 Mar 2023 16:11:02 +0200 Message-Id: <83jzzcal1l.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <87r0tksyma.fsf@HIDDEN> (message from Michael Albinus on Sun, 19 Mar 2023 13:40:29 +0100) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: manuel@HIDDEN, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Michael Albinus <michael.albinus@HIDDEN> > Cc: Manuel Giraud <manuel@HIDDEN>, 62260 <at> debbugs.gnu.org > Date: Sun, 19 Mar 2023 13:40:29 +0100 > > Tramp has no influence on the permissions of the auto-saved file. My reading of the code in auto_save_1 is that the permission modes of the auto-saved files for remote files are determined from their original files, by calling file-modes (which I believe Tramp implements?). See the 'else' branch of this part of auto_save_1: /* Get visited file's mode to become the auto save file's mode. */ if (! NILP (BVAR (current_buffer, filename))) { if (emacs_fstatat (AT_FDCWD, SSDATA (BVAR (current_buffer, filename)), &st, 0) == 0) /* But make sure we can overwrite it later! */ auto_save_mode_bits = (st.st_mode | 0600) & 0777; else if (modes = Ffile_modes (BVAR (current_buffer, filename), Qnil), FIXNUMP (modes)) /* Remote files don't cooperate with fstatat. */ auto_save_mode_bits = (XFIXNUM (modes) | 0600) & 0777; } If by "Tramp has no influence on the permissions of the auto-saved file" you mean the permissions are determined by the file, not by Tramp, then I agree. This simply follows what we do with local files, just by calling an Emacs primitive instead of fstatat.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 13:56:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 09:56:22 2023 Received: from localhost ([127.0.0.1]:52536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdtWI-0004ZD-8P for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 09:56:22 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:11024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdtWF-0004Z6-7z for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 09:56:20 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=A7IgD34Q 6dnb/ROFJFQy5wQvcJ0TZsFhTKXm6LO/kFE=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=tci8cQav+rSjSgik0XklcFq8kBwJJn Vue2G6W9hhlCVBTnfiKw0Xzw2nAZJZDikWy8597mgAECkH1Ep7XUkTBA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=A7IgD34Q6dnb/ROF JFQy5wQvcJ0TZsFhTKXm6LO/kFE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=tAFXa7Ke5/A2ZjbXkUwtJ3t9V8K0+CEXvNp2q3 38ELgZb7Lovp5BQRlwd0gBsmUj6Cv1evhG5N/mudMAcQ8LezwYlTRINZRCrlN05lp6KtMR ywBKnv/hyYaFaCWxNHP7vY0vnqo9fvQvD1GxG3bSA4s1mOAFusJ2xU93vILkEHN+q/pGzk TvgtMEqDCVsRe4opIMOM78CTNr5AIotFgM6wicIByaPj7w5ldkrtwaFPl5M7gV4xmxcPhD QttUFXcWnfj3tJ2Gld9prrJ7CWsLDeTza8CEyN4ZhsZ50eP2Ohsk2cTu8+tMhwHJvf16iP /PlLBlBepVo4y4o82WR6qYnQ== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 19156d5a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 19 Mar 2023 14:56:17 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Michael Albinus <michael.albinus@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <87r0tksyma.fsf@HIDDEN> (Michael Albinus's message of "Sun, 19 Mar 2023 13:40:29 +0100") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> <87r0tksyma.fsf@HIDDEN> Date: Sun, 19 Mar 2023 14:56:16 +0100 Message-ID: <87v8iw6e0v.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: Eli Zaretskii <eliz@HIDDEN>, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Michael Albinus <michael.albinus@HIDDEN> writes: [...] >> So this is limited to Tramp and how it handles auto-saving? Adding >> Michael, in case he has ideas for how to solve this issue. > > Read the Tramp manual (info "(tramp) Auto-save File Lock and Backup") > You can use auto-save-file-name-transforms or tramp-auto-save-directory > in order to change the location of auto-saved files. This is the > recommended way to protect sensible data. Hi Michael, Thanks for your inputs. I have tried with 'auto-save-file-name-transforms' like this: (add-to-list 'auto-save-file-name-transforms '("\\`/\\(?:doas\\|ksu\\|su\\(?:do\\)?\\):.*\\'" "/dev/null" nil)) But now, auto-save tries to create "/dev/#null#". How can I fix it to "/dev/null"? -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 12:40:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 08:40:40 2023 Received: from localhost ([127.0.0.1]:49622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdsL1-0001tk-M4 for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 08:40:40 -0400 Received: from mout.gmx.net ([212.227.17.22]:39981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1pdsKz-0001tN-Ls for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 08:40:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679229630; i=michael.albinus@HIDDEN; bh=ZaGXRosxac+pmz8P3EO+V6i3QZbNbnz+JgNiTfLGhVg=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=KF5C/89RMStR4cDCwQiWAEsqTIXhrHOn1bJIZtGaLqvNI3soN/lKtAHhhrLiU+/xO mbFe9ixKe4UeWALXii4arYmkECRf4SMZ6SIb9HYmkvvCupAlI2MojyxJ/wJX2FoQK6 UfTDDlxTr0sh9vYQEy+IMLpTTJHwNy0g2PvyvVVJfoq2ywlDCzhLEBnDlxd2JgLcZj IayDPnfCDpfpdObYNCDdTTIlFNXabKEdT8Up2OdLH6Z+KsDUESQIIyzPnq6vnRcVgf QAD4LSTlmRxUTophjd4Fyf7/0rWMDYthV2436CDekJPaS5mJrGga6Zy+u8lXmPDBUR 03dlFyf3TLvTA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbzyJ-1qDUrh2wZz-00dZ9g; Sun, 19 Mar 2023 13:40:30 +0100 From: Michael Albinus <michael.albinus@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <83sfe19bmk.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 19 Mar 2023 14:19:47 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> <83sfe19bmk.fsf@HIDDEN> Date: Sun, 19 Mar 2023 13:40:29 +0100 Message-ID: <87r0tksyma.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:a4gMnIi98YUPiWSJ5tSIJz2y1Odep4jrPFlYdYw8MaPAk6Ay3qh bUDDWVqjw4ybsTAFa3jgB7ZTWBd9bGJ/gOaB4T6BlRursQRZwSR12tOKVt9lBFiZ2pl/4j+ d2cqz1wbEDVVfE6rR/UpukabM8BedvtR7p0HRqxq9sSAdGwc6alnL5/3R2pyvo0GeIRzunO z0ye4KhlwVP8YomSkfp3w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:d+2cXeK3dRU=;x3ey60xkEzmSSrUT1Pq6MQwVDT2 pemHYNCTzbBevao5BIQrLm/Qq6YbRnx+llD8O0/wFK1hPoBeVrxKBDJmBNkwJ4T5Omu5vqdZi iEPip0fjXyvl+T9s3WgNJUnUTtCmtZdB9oCmRG8a1UvoDOKSneC09KKthO2NAe0rWRqy0Pnfq +yaWXUn6ADF44ooQ9I8HAYnK/FEOXvjiDocxfWrHIihCfL87G7A8axqBLLXHswFwndVxL25v0 J9dt+RwDoHw9FM2fSqpliIYj43Fg7MW67/Z7RxMBwu1z930x89TEKhkRIjBsV8UYl4VlWFLDn sc6x3auVfxB4K/jCnyT3Ds/+HDUS6+rmeUFNevVpreSXlkzPOddBt2FTO1hcz2zAEOAfSzQgI 6NSe5U1u4ctCU0hTqZNCogr3+hXv83I+eXNUbtrLUkMemqFOS48pcchvm2kryVp87j3lcqV3C Xeoz9Njp6P7+/K2dQg9ZZTewxCyIl8VyexyQA6tkPezdTIlnoAqBhxORWgXg776HaUiuBShnX eCCyiPL36CeUKmfwOVHT54ck2lVtBGdizjXxCiZZsJTd2Hp918D11JxSLxUuoJPW/p5xICFVg d6qQ+vjar2YDg4D8Pgw2NXh4Ipk+0yxkwtPiqY1UBqonmPV7SsJeZvDI7flE+qnrjgJ49PB3L lzLsCwM2r6m81VMHtMFiZMlU/ht9EasGaB+c6/Rs00NuTq3f+8J2bx2KigQG8VjCIFtRxaN13 X8BdjK95mlR7XIKEQKWw70BOt/OFdyyU+Ow3Gy4lDe0GdNm7PLzx7f1fw11XtD0RXay6MuJMP a1YDsRb8gA2e/0uk+7zLow/MhyX4Q2gWvHRt7EK+e0t3+bXXwPx45xU5lqdbf6d66wcqsqNZb qiNspsTLOc7FLXnS2UGWd6QYjlG+7dU96zGRHVpClKLDqi19HbOh+h4OxP6UQb6cmmBJ24BTp oF9KvlyJsd90BXHXIFc0OuBzTF0= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62260 Cc: Manuel Giraud <manuel@HIDDEN>, 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii <eliz@HIDDEN> writes: Hi, >> From: Manuel Giraud <manuel@HIDDEN> >> Cc: 62260 <at> debbugs.gnu.org >> Date: Sun, 19 Mar 2023 12:43:02 +0100 >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> > More generally: what problems are you trying to solve here? If this >> > code causes some problems, please describe them, and let's see whether >> > and how we should fix them. >> >> You're right. I should have start from here. So it all start with a >> recurring message I get from TRAMP whenever I access a root file (via >> sudo method) for the first time. It asks: >> >> "Autosave file on local temporary directory, do you want to continue?" >> >> I answer "yes" but it seems that it can potentially leak root data >> through auto-save files. Looking at the code that asks this question >> (tramp.el:6528), I see that I can set >> 'tramp-allow-unsafe-temporary-files' to t and I won't see the question >> again... but the leakage is still possible. So I guess what I want is >> an option to stop auto-save entirely in those cases. >> >> >From there, I've looked at how auto-save work and I ask myself: "maybe >> instead of such an option, I could limit others rights on auto-save >> files". And that's how I came up with this patch. > > So this is limited to Tramp and how it handles auto-saving? Adding > Michael, in case he has ideas for how to solve this issue. Read the Tramp manual (info "(tramp) Auto-save File Lock and Backup") You can use auto-save-file-name-transforms or tramp-auto-save-directory in order to change the location of auto-saved files. This is the recommended way to protect sensible data. Tramp has no influence on the permissions of the auto-saved file. There's also bug#57395 with a related (but not identical) topic. Best regards, Michael.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 12:19:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 08:19:52 2023 Received: from localhost ([127.0.0.1]:49595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pds0t-0001IM-QL for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 08:19:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pds0r-0001I7-LD for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 08:19:50 -0400 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@HIDDEN>) id 1pds0l-00032J-16; Sun, 19 Mar 2023 08:19:43 -0400 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=HuS8oi/QKmGnex3rJ8cz5PSbDln15sWY0lHPou5ajXU=; b=oYutMsRlj0xB HBk/w4Q677h2OBtZ2Kb0dnBQva/l4lRWkJF3XTmAJxL1QP3SJ0NJgO9sXgHEg7AttIezrfcw3Ea0k oKkNVfvzdD7y8MUiwSHyk4O0N16QaGERRG8c4ihleRYL6KgrkMXPVvRph8fp3QMdxVxS4fZ2fRpqC 3KM8VS/bT4wgXxY+v1ckuPuMChFVZDcuWsDR6OTT2hUmPjranN23z3nxoSaNkLBcFwn9fFO3BXEGz xo8rlAQb2Ukzzc2q5KOE/hyhoutLofi8gZYq+JGNFQKQkwZrzKhzpZfiV43j6wp0GfOiQ0WiUihO1 rGtXDpDr2QUY10wMgNFztA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pds0k-0004LO-DS; Sun, 19 Mar 2023 08:19:42 -0400 Date: Sun, 19 Mar 2023 14:19:47 +0200 Message-Id: <83sfe19bmk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Manuel Giraud <manuel@HIDDEN>, Michael Albinus <michael.albinus@HIDDEN> In-Reply-To: <87edplm0ft.fsf@HIDDEN> (message from Manuel Giraud on Sun, 19 Mar 2023 12:43:02 +0100) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> <87edplm0ft.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Manuel Giraud <manuel@HIDDEN> > Cc: 62260 <at> debbugs.gnu.org > Date: Sun, 19 Mar 2023 12:43:02 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > More generally: what problems are you trying to solve here? If this > > code causes some problems, please describe them, and let's see whether > > and how we should fix them. > > You're right. I should have start from here. So it all start with a > recurring message I get from TRAMP whenever I access a root file (via > sudo method) for the first time. It asks: > > "Autosave file on local temporary directory, do you want to continue?" > > I answer "yes" but it seems that it can potentially leak root data > through auto-save files. Looking at the code that asks this question > (tramp.el:6528), I see that I can set > 'tramp-allow-unsafe-temporary-files' to t and I won't see the question > again... but the leakage is still possible. So I guess what I want is > an option to stop auto-save entirely in those cases. > > >From there, I've looked at how auto-save work and I ask myself: "maybe > instead of such an option, I could limit others rights on auto-save > files". And that's how I came up with this patch. So this is limited to Tramp and how it handles auto-saving? Adding Michael, in case he has ideas for how to solve this issue.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 19 Mar 2023 11:43:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 07:43:10 2023 Received: from localhost ([127.0.0.1]:49572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdrRO-0000Js-5l for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 07:43:10 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:32755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdrRL-0000Is-OQ for 62260 <at> debbugs.gnu.org; Sun, 19 Mar 2023 07:43:08 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=QzBSNRAW msUzT7IR992vfcbswT6b3DAz3QHymqBY6PA=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=2QQSopD/vPtJA2nt67EaGNnK+vw7VM Y23d5rtA5YTKLjj7YkeTF+kNUeeYgaoruejMHVnDJoiFFAGAOzrd8GCg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=QzBSNRAWmsUzT7IR 992vfcbswT6b3DAz3QHymqBY6PA=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=UBYLNV05jcSCllcS+2O9Van0FB6emY6cUzr/4D Jcwr6v9cgGpIGqnGWkeVafFBbKPmppd88Gx5jLav+ajyd+6xc+ZjSzwzYz+5yRzpeGAUlT RzIYqUrutyMhnU1FYzDP721yzY2N+fT+SPJQG4gOKLXMDuWyWSvk6Z1I8Lbqo2U0Y/x6Jf 40q2Om2wSRz8s2VdsdfVxq1VPFoLzfGdzJkWMMmrrYXPxwRAcH+u25n+Uy0gqmryCtAojt BUEqhDZEWQokThUX5DtxtkomqJ+fOA87JQaksIRCItZvL7CygsPbNIfbCHPcGA9AWoC2Mu Mrk1LbYVCEl5nU7DtHmSK1lw== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 2597fbb9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 19 Mar 2023 12:43:05 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <837cvdbykw.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 22:21:03 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> <837cvdbykw.fsf@HIDDEN> Date: Sun, 19 Mar 2023 12:43:02 +0100 Message-ID: <87edplm0ft.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: 62260 <at> debbugs.gnu.org >> Date: Sat, 18 Mar 2023 22:00:32 +0200 >> From: Eli Zaretskii <eliz@HIDDEN> >> >> > With this patch, the /tmp directory now contains an auto-save file with >> > mode 0600. >> >> When a buffer visits a file, its auto-save file should have the same >> mode bits as the file itself (modulo your umask). I see no need to >> affect that part in any case. If the file itself is not private, why >> should its auto-save file be private? Also, there's >> auto-save-visited-mode. > > More generally: what problems are you trying to solve here? If this > code causes some problems, please describe them, and let's see whether > and how we should fix them. You're right. I should have start from here. So it all start with a recurring message I get from TRAMP whenever I access a root file (via sudo method) for the first time. It asks: "Autosave file on local temporary directory, do you want to continue?" I answer "yes" but it seems that it can potentially leak root data through auto-save files. Looking at the code that asks this question (tramp.el:6528), I see that I can set 'tramp-allow-unsafe-temporary-files' to t and I won't see the question again... but the leakage is still possible. So I guess what I want is an option to stop auto-save entirely in those cases. From there, I've looked at how auto-save work and I ask myself: "maybe instead of such an option, I could limit others rights on auto-save files". And that's how I came up with this patch. -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 20:21:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 16:21:10 2023 Received: from localhost ([127.0.0.1]:49104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdd37-0006WG-PV for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 16:21:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdd35-0006W1-Kx for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 16:21:08 -0400 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@HIDDEN>) id 1pdd2z-00022k-MT; Sat, 18 Mar 2023 16:21:01 -0400 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=2fMz31M8uOA6hlf0m7RsEflkCSZiDf4z/9JiYyHwJRA=; b=ehtQOpsY2ySl GMxHjnajxuyMolW4FQQt37PfDQx3Up9mXTwl1B22vyGhr1//Tb5LXD0uURJY+vSuY6j4ktlnRGTlH RCeES8d7GCaXySTuDJKHVmmJiKocCXUlV/27b/oJFwfrJQOocCmvLRDIkmV5HxvnSAi8ryXsT7AmR gjxESb749XAok/dgf7ZAo2RCLLK7fUxEay3ppt7Qm+qh0+E40Ixge8a/TYH27HTJQa5yeQLhtMs7b Trmk2Yv/ba3RpnF6IBPJJE4i0UEW/p4ZURv6tx3pKCPZN1451A4ZyfHkRjGIxQepWRA9fo8P4Rl16 JKZvDu+hpRq/kVLaERjgWQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdd2y-0004Lr-Vv; Sat, 18 Mar 2023 16:21:01 -0400 Date: Sat, 18 Mar 2023 22:21:03 +0200 Message-Id: <837cvdbykw.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: manuel@HIDDEN In-Reply-To: <838rftbzj3.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 18 Mar 2023 22:00:32 +0200) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> <838rftbzj3.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 62260 <at> debbugs.gnu.org > Date: Sat, 18 Mar 2023 22:00:32 +0200 > From: Eli Zaretskii <eliz@HIDDEN> > > > With this patch, the /tmp directory now contains an auto-save file with > > mode 0600. > > When a buffer visits a file, its auto-save file should have the same > mode bits as the file itself (modulo your umask). I see no need to > affect that part in any case. If the file itself is not private, why > should its auto-save file be private? Also, there's > auto-save-visited-mode. More generally: what problems are you trying to solve here? If this code causes some problems, please describe them, and let's see whether and how we should fix them. This code is in its present shape for the last 25 years at least, and in all that time I don't think we ever had any complaints about the mode bits of the auto-save files. So if there's no real-life problem here, I see no reason to change code that is stable for so long.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 20:00:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 16:00:40 2023 Received: from localhost ([127.0.0.1]:49098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdcjH-0005vp-Ph for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 16:00:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdcjG-0005vd-1f for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 16:00:39 -0400 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@HIDDEN>) id 1pdcjA-0006Ls-69; Sat, 18 Mar 2023 16:00:32 -0400 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=+MaZKr7kWBgFB6Rs5rv2NjZlG2DNlqPVipffjDhqLEk=; b=A/2fpx5lzChL LDWe2j0nQCFBXSs/gDQY+j8HIVNdFEtxmdJCIK3lxeyi7rhYfedOstL/VEoVNEH/dnqanSIjNRSAx lnWOI9f324PuCuWe2oHEgNsgS7M5RM1MakK/M4TombeKyDwrxdd7GWEgBZQD83GKfUXNfE0NIlYfn EElbiMVufrzzmwQ0zVMUDorXP59jw1KVE13ekup545M1gxK0c5JXw+gan9H8/agAxF8alUHF1pY38 qetJG0Ic8H/EWSqeKcVhx4RpiY5Cz9ADuTz1qK7MBxNOMyzkecd21O7P8yoq3IcbvVH5XdFmIiwYO 5JBuSx+RwhnBCW5ZDGyjYg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdcj6-00010M-Rq; Sat, 18 Mar 2023 16:00:30 -0400 Date: Sat, 18 Mar 2023 22:00:32 +0200 Message-Id: <838rftbzj3.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Manuel Giraud <manuel@HIDDEN> In-Reply-To: <87ilexn9tc.fsf@HIDDEN> (message from Manuel Giraud on Sat, 18 Mar 2023 20:22:55 +0100) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> <87ilexn9tc.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Manuel Giraud <manuel@HIDDEN> > Cc: 62260 <at> debbugs.gnu.org > Date: Sat, 18 Mar 2023 20:22:55 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> Did you try a different user? > > > > Actually, the right question is: what exactly did you try? As you can > > see from the code, 0666 value is used only for buffers that don't > > visit files. Did you try with such a buffer, and what exactly did you > > try? > > I didn't with a buffer not visiting a file. I have tried with a file in > /tmp that by default on my system is created with mode 0644. Then I > write something into this file and do 'M-x do-auto-save'. > > With this patch, the /tmp directory now contains an auto-save file with > mode 0600. When a buffer visits a file, its auto-save file should have the same mode bits as the file itself (modulo your umask). I see no need to affect that part in any case. If the file itself is not private, why should its auto-save file be private? Also, there's auto-save-visited-mode.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 19:23:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 15:23:00 2023 Received: from localhost ([127.0.0.1]:49090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdc8q-0004v6-G2 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 15:23:00 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:10801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdc8n-0004ux-Uh for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 15:22:59 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=zDM76Qx9 FGV9i1S76eF8GOMKNTZGmrMuo+ITB9DKmCE=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=goF9kG7GR+acnpMRj77lZehbt3jged FGyCYwU/2urPlWvw87gLVMKJHcAwReiX+eMJQrwwQc1VZVb8sTWtRMCg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=zDM76Qx9FGV9i1S7 6eF8GOMKNTZGmrMuo+ITB9DKmCE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=PS+/NYwtblkWULJatYQIHcghmzw6WZSYAkEtBz tETa82jnDgYDWVdvo/m0PoSLJE3BUenLrUNJ5dgnjenq6uhAooVTtQxWcD2XEuHxkEjziM gOQP2eCsr5L2ZYmqrEWqb5tW9jvrDlO7ZF/Ia9o2UZla2DxLWzqjkO/clH3/Kr6SwJEoM7 zqUOaXECYsLmOFWTspVvztzUNLcW1nx4fBF7eyZBQMRu1uBtpEN7eMaMc6rbPwwWZiov0L 1pk7z4wdjUp8R4l3u/T6LZ36GzdXbeMo6Vhj+DqzVctyHu/jSVdSlQYSvOB3MxOPiOJAFS 9h3U5xP2Q2pfAkM3jGN5eAzQ== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 9fe44878 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Mar 2023 20:22:57 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <83a609c2q7.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 20:51:28 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> <83a609c2q7.fsf@HIDDEN> Date: Sat, 18 Mar 2023 20:22:55 +0100 Message-ID: <87ilexn9tc.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Did you try a different user? > > Actually, the right question is: what exactly did you try? As you can > see from the code, 0666 value is used only for buffers that don't > visit files. Did you try with such a buffer, and what exactly did you > try? I didn't with a buffer not visiting a file. I have tried with a file in /tmp that by default on my system is created with mode 0644. Then I write something into this file and do 'M-x do-auto-save'. With this patch, the /tmp directory now contains an auto-save file with mode 0600. -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 19:16:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 15:16:15 2023 Received: from localhost ([127.0.0.1]:49086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdc2J-0004lb-Kb for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 15:16:15 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:17223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdc2G-0004lQ-5J for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 15:16:13 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=EBT4MGId JiI95KS2m5CggXkzTl3/ih1xYW2STf6wBlQ=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=8bb0lqh8qVwI1BTGRz4B2RMBPmdwse 95m5rm5WPiG5gvpNKROZc3LBGS/QI/bjjzZLAAU7IA6waZeLF5UGh0BA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=EBT4MGIdJiI95KS2 m5CggXkzTl3/ih1xYW2STf6wBlQ=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=oI7CKeMJlXHhIxQUvOPMMuVNTq5b+SQDxIDLxv 39pn6x0QKeynXUC2D/lhnWCE0bJ7/cEF9aYG879S21jlfCiD6NzoPI0FLpyz9EBuJ75yp6 rScC8G4Pv6H8Y3DYumogJSXM6udkOE6pJQdcEFyHmNKre8iPtzwIXlVlH1VhLiLBE9Izo1 755limPo6fgwAqbKrUbT+hapxSj/gFQCXDUJPhsgp5JIEHOQHh9wAGN6UBjFmHXt2CppF8 4v8faQdN2ajpey5o+hZ/WEBN+7PVJRr17SVjirECnrGETUMQP1Iija3rggiN4n/SkS6PY9 NWqdmpC7HmTC3aB28AM99YPQ== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 563be87c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Mar 2023 20:16:10 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <83bkkpc2x6.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 20:47:17 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> Date: Sat, 18 Mar 2023 20:16:08 +0100 Message-ID: <87mt49na4n.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> I've tried it but I'm not able to come with such an example. With this >> patch, the auto-save file has always a mode of 0600 even for a file with >> a mode of 0006 not own by me. > > Did you try a different user? I've just tried but with sudo over TRAMP. I had a message about the lock that I stole and then Emacs created another auto-save file with TRAMP naming (this file is also mode 0600). I guess that using TRAMP is cheating here and that I should really be another user using Emacs and trying to open this same file... Then I guess I won't be able to recover from (or write to) this auto-save file. But does this kind of scenarios appear in real life? -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 18:51:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 14:51:31 2023 Received: from localhost ([127.0.0.1]:49081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdbeN-0004B0-96 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:51:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdbeL-0004Ao-J6 for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:51:30 -0400 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@HIDDEN>) id 1pdbeG-0002Du-Bj; Sat, 18 Mar 2023 14:51:24 -0400 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=UWF4RyW6JLicmiWInzcZ+Zkvlq/scCsoOhy2JvNNNQs=; b=dyi9axe8nsqP Y4Uz7WpbezHFYvPtMyLN4Egftl27hxQRb8mlZ7DccVsRQ4fr8lciSNl+GuzydYUpRFkLgGnSqb/us L4VgJgPP5AERKWJKPN87ndiNyXS1IwRFlM1EAZ14+/Po6fi3nyFnbwgf+KqCtTuW6+f9zO14wWjaQ rkSG5Z6UftcK2w+TAenNGw9I564LpUpoZJ2iRWNV/t+QM2qnvq2ZBpcrcVmta5mAyLByNKI36+qfy oHRg5pB17wljeu1FVwCIj71UuiDlDUqAm12L/N/lRjqm3dehZ6wYLbVZlTbHK/3Fsm1mphbiFqFtS U4k3xnbudRZ0wSlimK75wQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdbeF-0001p1-Op; Sat, 18 Mar 2023 14:51:24 -0400 Date: Sat, 18 Mar 2023 20:51:28 +0200 Message-Id: <83a609c2q7.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: manuel@HIDDEN In-Reply-To: <83bkkpc2x6.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 18 Mar 2023 20:47:17 +0200) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> <83bkkpc2x6.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 62260 <at> debbugs.gnu.org > Date: Sat, 18 Mar 2023 20:47:17 +0200 > From: Eli Zaretskii <eliz@HIDDEN> > > > From: Manuel Giraud <manuel@HIDDEN> > > Cc: 62260 <at> debbugs.gnu.org > > Date: Sat, 18 Mar 2023 19:39:20 +0100 > > > > Eli Zaretskii <eliz@HIDDEN> writes: > > > > [...] > > > > > That could make it impossible to overwrite the auto-save file later. > > > So I don't think we should make this change. > > > > I've tried it but I'm not able to come with such an example. With this > > patch, the auto-save file has always a mode of 0600 even for a file with > > a mode of 0006 not own by me. > > Did you try a different user? Actually, the right question is: what exactly did you try? As you can see from the code, 0666 value is used only for buffers that don't visit files. Did you try with such a buffer, and what exactly did you try?
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 18:47:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 14:47:22 2023 Received: from localhost ([127.0.0.1]:49072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdbaM-000404-B5 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:47:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdbaL-0003zq-5S for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:47:21 -0400 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@HIDDEN>) id 1pdbaE-0001WA-U5; Sat, 18 Mar 2023 14:47:15 -0400 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=rj2rnqZwjSaQxCNi2W1UAXHraQzL0tf6Rtp0AGtExqM=; b=Ak6gcFg3UcXI vklHOigSELV+hv+4QpWFR9rM6syal7bZwLJ2J7Q1QVI+n3K0nWBg20YdIxRptGmJkxxWiXkqMsB9z mQMzecdMbv2kHUKaL27QQGbLcP85OwyVtyM72J248IuWsxWQf0hUvrnWXLvDpMbw2+AmIOySXmK/U uHmCiRGGtfok1uGw6nkYqBiPylXQQOR/TG8geySqQciWtQps3/01HJdS4H8EUh/hN+Nz6oGDep/Yk Qtma++mXGsz68bFMsPh97DHXYvc2bStGvBUnNrnDotI3eiMbVBVx7B/nR20MWczmZbJgT6rEEDHRc LVKbdK2CNVHe9Id/N8fKSg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdbaD-0001Lc-Ue; Sat, 18 Mar 2023 14:47:14 -0400 Date: Sat, 18 Mar 2023 20:47:17 +0200 Message-Id: <83bkkpc2x6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Manuel Giraud <manuel@HIDDEN> In-Reply-To: <87r0tlnbtz.fsf@HIDDEN> (message from Manuel Giraud on Sat, 18 Mar 2023 19:39:20 +0100) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> <87r0tlnbtz.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Manuel Giraud <manuel@HIDDEN> > Cc: 62260 <at> debbugs.gnu.org > Date: Sat, 18 Mar 2023 19:39:20 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > [...] > > > That could make it impossible to overwrite the auto-save file later. > > So I don't think we should make this change. > > I've tried it but I'm not able to come with such an example. With this > patch, the auto-save file has always a mode of 0600 even for a file with > a mode of 0006 not own by me. Did you try a different user?
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 18:39:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 14:39:26 2023 Received: from localhost ([127.0.0.1]:49059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdbSf-0003n2-P2 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:39:26 -0400 Received: from ledu-giraud.fr ([51.159.28.247]:28683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdbSd-0003mr-DL for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:39:24 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=wdasrZDb SCVBknDdLlUlktSS2LDyc2PPCuiWiatATX0=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=avHSashQEYoIVyXDFKIBYrlS0QwTmD 8T3O3asiLFKYRChrGsRdxxtoVRtoRS/FdAlJ66l+jkiKbirKvTI4G1Dw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=wdasrZDbSCVBknDd LlUlktSS2LDyc2PPCuiWiatATX0=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=owXEY8rzf8F+b9RGRTdi3Y24/x5+yy//D+jAPE qlIOLavwd1H6YyRiQElsAr3B9ixQVa3BeRZjTwWljlRARRtBoYPEFBRxAc0zNeP9xU+cIE 9ns8JnaiAIZ5GDwOPgBCWE2H56B0CHw8unmus85fgM0pp20odxH4hfD1mXcvsRanQMytpG yj+7CLWGv2NmmdLA3ur6KB5jQXY0Jo79zqSBVb1Rcl3XTR9Snks/+2xAA99i0tV62+Mz3X zs8pvWM9J2GHMJYeOFao7RlY8AiB+wgJ38SBqInFmx5eSK82iKf1Tj4aIpf5dbC7q4rqkQ m7hAyO2JgFUwpg4wEt3+BjMw== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 80574bd1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Mar 2023 19:39:21 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode In-Reply-To: <83h6uiawvv.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 17:43:00 +0200") References: <87v8iynl5c.fsf@HIDDEN> <83h6uiawvv.fsf@HIDDEN> Date: Sat, 18 Mar 2023 19:39:20 +0100 Message-ID: <87r0tlnbtz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: [...] > That could make it impossible to overwrite the auto-save file later. > So I don't think we should make this change. I've tried it but I'm not able to come with such an example. With this patch, the auto-save file has always a mode of 0600 even for a file with a mode of 0006 not own by me. -- Manuel Giraud
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at 62260) by debbugs.gnu.org; 18 Mar 2023 15:43:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 11:43:06 2023 Received: from localhost ([127.0.0.1]:48896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdYi2-0007Uo-Jv for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 11:43:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdYi0-0007UK-VL for 62260 <at> debbugs.gnu.org; Sat, 18 Mar 2023 11:43:05 -0400 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@HIDDEN>) id 1pdYhu-0003e2-Hw; Sat, 18 Mar 2023 11:42:58 -0400 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=OtyTbMaNBMLPbwKatIAxg4ArFXmrPsCxbL9O7EjjDWA=; b=CIlLFgWvpQvh hLE4yD8gzU5MHd43vBxgsEMVxfR191ocKTQUpETKDqG98y5IPFE0fQFyjRX/D3hzHDQaSGpz2LVrJ xemBJ4VRxTNt6l65I4aADj6ZUXd5npA2sK/wgJhmbUVUWexumnQO9X1+xZRMpL2LwU3DsfQUy25uZ WKdhUpAoCVBTQN2wJlOhmEP5n340iDzw+k5nIz4GPjRGoAcgll7o3zytobrHOH2oHBNQtZwxg4wLx QWRcYsmUx0q6yrT4GB/sWB4zPM0xTQcO19A28cS54R9q1wz+qoWMrOXQNia1AVjznBy8hg5fpXmi/ ldJfTC5lgbOt+BBvrkwhnA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1pdYhu-0004LJ-1N; Sat, 18 Mar 2023 11:42:58 -0400 Date: Sat, 18 Mar 2023 17:43:00 +0200 Message-Id: <83h6uiawvv.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Manuel Giraud <manuel@HIDDEN> In-Reply-To: <87v8iynl5c.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#62260: 30.0.50; [PATCH] Restrict auto-save file mode References: <87v8iynl5c.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62260 Cc: 62260 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sat, 18 Mar 2023 16:18:07 +0100 > From: Manuel Giraud via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I'm surely missing something but wouldn't it be a good thing to tighten > auto-save files mode. Mostly for remote or sudo files, this seems like > a better default. That could make it impossible to overwrite the auto-save file later. So I don't think we should make this change.
bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Mar 2023 15:18:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 11:18:18 2023 Received: from localhost ([127.0.0.1]:48889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdYK1-0006ts-T9 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 11:18:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:54872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manuel@HIDDEN>) id 1pdYJz-0006tj-Fb for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 11:18:16 -0400 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 <manuel@HIDDEN>) id 1pdYJz-0005Bg-6g for bug-gnu-emacs@HIDDEN; Sat, 18 Mar 2023 11:18:15 -0400 Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <manuel@HIDDEN>) id 1pdYJw-0006cM-HZ for bug-gnu-emacs@HIDDEN; Sat, 18 Mar 2023 11:18:14 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=E+TA/VaJ 343jFlYIrb7K6H+WjELw6MLg2zhEW0BCzWg=; h=date:subject:to:from; d=ledu-giraud.fr; b=GWA7Fx/eysxc0HBUlgavDmwE2fYwec4QnZo7XuITJAtDf2+CbZ 5vDbVe10Fe+obuuNMD3qRZq/dFZNVAt/kNCw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=E+TA/VaJ343jFlYI rb7K6H+WjELw6MLg2zhEW0BCzWg=; h=date:subject:to:from; d=ledu-giraud.fr; b=HBDcFVbXfwQx4OzParAkSDK8o5L5HRTqoxgwlq1n2RqA55Ep/I CiSOXhnJeURg78gKHhIdLkXR8vTWOOWTWLbf246uupP1UcLB+CDhOyxReeNsvkvxj1t4iT uisP/uQfJmDXfWNVZg8H3AnlLD/2rodMdfOxUY8q4brmyJw1trmLtj5h0Fe/BjWVFRnOkG WcLMoP2ZavS177i+SfApSkogIl/jA6j9Ui0F/OAuKkU2Fo6WojDGv6j3j7M4Fsl6zNMZ92 VNP8tR2hA6Ai343HC7h7mAi9wJHblwVZvaX6JMPvTuGxLlrdvtETHC0HuqpNW8wKncGOPy qH8KtdPc+AAw== Received: from computer (<unknown> [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 1c264f6a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Mar 2023 16:18:09 +0100 (CET) From: Manuel Giraud <manuel@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; [PATCH] Restrict auto-save file mode Date: Sat, 18 Mar 2023 16:18:07 +0100 Message-ID: <87v8iynl5c.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Hi, I'm surely missing something but wouldn't it be a good thing to tighten auto-save files mode. Mostly for remote or sudo files, this seems like a better default. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Restrict-auto-save-file-mode.patch From 0039dd6b5076d3edd61b15f017c27d9424ad559e Mon Sep 17 00:00:00 2001 From: Manuel Giraud <manuel@HIDDEN> Date: Sat, 18 Mar 2023 16:10:44 +0100 Subject: [PATCH] Restrict auto-save file mode * src/fileio.c (auto_save_1): Restrict auto-save file to user's mode only. --- src/fileio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index b80f8d61de4..73c7dc5e063 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5905,20 +5905,20 @@ auto_save_1 (void) struct stat st; Lisp_Object modes; - auto_save_mode_bits = 0666; + auto_save_mode_bits = 0600; - /* Get visited file's mode to become the auto save file's mode. */ + /* Get visited file's user mode to become the auto save file's mode. */ if (! NILP (BVAR (current_buffer, filename))) { if (emacs_fstatat (AT_FDCWD, SSDATA (BVAR (current_buffer, filename)), &st, 0) == 0) /* But make sure we can overwrite it later! */ - auto_save_mode_bits = (st.st_mode | 0600) & 0777; + auto_save_mode_bits = (st.st_mode | 0600) & 0700; else if (modes = Ffile_modes (BVAR (current_buffer, filename), Qnil), FIXNUMP (modes)) /* Remote files don't cooperate with fstatat. */ - auto_save_mode_bits = (XFIXNUM (modes) | 0600) & 0777; + auto_save_mode_bits = (XFIXNUM (modes) | 0600) & 0700; } return -- 2.39.2 --=-=-= Content-Type: text/plain In GNU Emacs 30.0.50 (build 1, x86_64-unknown-openbsd7.3, cairo version 1.17.8) of 2023-03-18 built on computer Repository revision: 4234e204ec0e73211e0041d78460b2c51913a517 Repository branch: mgi/restrict-auto-save Windowing system distributor 'The X.Org Foundation', version 11.0.12101006 System Description: OpenBSD computer 7.3 GENERIC.MP#1105 amd64 Configured using: 'configure --prefix=/home/manuel/emacs --bindir=/home/manuel/bin --with-x-toolkit=no --without-sound --without-compress-install CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t gnus-dired-mode: t display-time-mode: t display-battery-mode: t server-mode: t shell-dirtrack-mode: t repeat-mode: t desktop-save-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/manuel/.emacs.d/elpa/ef-themes-0.10.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/30.0.50/lisp/theme-loaddefs /home/manuel/.emacs.d/elpa/transient-0.3.7/transient hides /home/manuel/emacs/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr dabbrev emacsbug whitespace magit-patch tramp-cmds pulse magit-extras face-remap magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff git-commit log-edit add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-section magit-utils dash vc-bzr rfc2104 tramp-cache time-stamp tramp-sh org-indent idlwave idlwave-help idlw-help emacs-news-mode view vc-dir ewoc rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok pascal vc-cvs vc-rcs log-view pcvs-util conf-mode css-mode sgml-mode facemenu imenu vc-hg sh-script smie treesit executable smerge-mode diff oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi mule-util paredit edmacro autorevert filenotify vc-git diff-mode vc-svn vc vc-dispatcher bug-reference gnus-dired time battery cus-load exwm-randr xcb-randr exwm-config ido exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug kmacro server modus-operandi-theme modus-themes ytdious mingus libmpdee reporter edebug debug backtrace transmission color calc-bin calc-ext calc calc-loaddefs rect calc-macs supercite regi ebdb-message ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr wid-edit ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev eieio-opt cl-extra help-mode speedbar ezimage dframe eieio-base pcase timezone visual-basic-mode cl web-mode derived disp-table erlang-start smart-tabs-mode skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs slime-asdf grep slime-tramp tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree advice slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime apropos compile text-property-search etags fileloop xref project arc-mode archive-mode pp hyperspec thingatpt slime-autoloads org-agenda org-element org-persist xdg org-id avl-tree generator org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs find-func ol rx org-fold org-fold-core org-compat org-version org-macs format-spec appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs dired-aux dired-x dired dired-loaddefs notifications dbus xml repeat easy-mmode desktop frameset osm-autoloads rust-mode-autoloads ebdb-autoloads compat-autoloads magit-autoloads debbugs-autoloads git-commit-autoloads magit-section-autoloads ef-themes-autoloads with-editor-autoloads paredit-autoloads dash-autoloads ytdious-autoloads transmission-autoloads transient-autoloads exwm-autoloads hyperbole-autoloads detached-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind kqueue lcms2 dynamic-setting system-font-setting font-render-setting cairo xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 765135 152535) (symbols 48 60399 6) (strings 32 197023 9623) (string-bytes 1 6230759) (vectors 16 117472) (vector-slots 8 2355311 71951) (floats 8 566 318) (intervals 56 21464 629) (buffers 984 137)) -- Manuel Giraud --=-=-=--
Manuel Giraud <manuel@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#62260
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.