From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66546: 30.0.50; save-buffer to write-protected file without backup fails Date: Sun, 15 Oct 2023 13:39:04 +0200 Message-ID: <87il78cdyf.fsf@sappc2.fritz.box> References: <83h6mtq9t7.fsf@gnu.org> <8734ydx7x3.fsf@sappc2.fritz.box> <83cyxgqwjm.fsf@gnu.org> <87lec4cjqe.fsf@sappc2.fritz.box> <83ttqsp5x1.fsf@gnu.org> Reply-To: Jens Schmidt Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15390"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 66546@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 13:40:14 2023 Return-path: 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 ) id 1qrzTd-0003dE-Rf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 13:40:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrzTE-0001wL-De; Sun, 15 Oct 2023 07:39:44 -0400 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 ) id 1qrzT9-0001w0-T5 for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 07:39:40 -0400 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 ) id 1qrzT8-0005Xo-GC for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 07:39:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrzTW-0002qg-4e for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 07:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66546 X-GNU-PR-Package: emacs Original-Received: via spool by 66546-submit@debbugs.gnu.org id=B66546.169736998810839 (code B ref 66546); Sun, 15 Oct 2023 11:40:02 +0000 Original-Received: (at 66546) by debbugs.gnu.org; 15 Oct 2023 11:39:48 +0000 Original-Received: from localhost ([127.0.0.1]:51370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrzTI-0002ok-7Q for submit@debbugs.gnu.org; Sun, 15 Oct 2023 07:39:48 -0400 Original-Received: from mr4.vodafonemail.de ([145.253.228.164]:56224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrzTF-0002lx-Um for 66546@debbugs.gnu.org; Sun, 15 Oct 2023 07:39:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1697369955; bh=QUHA7H8UiRP6Dt3yYwoXvhGX9eS/BL9RrqpXDdLrQV0=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=KdylqroHXg8RtRsGLKvwoJq9EuqL0350jwjr/8wqMY7YradvcYVMZM8u7ETqtCPxt aP2QwyQMvPHieZtfsEFF0WcIcwcHbvWUj+gb3djxiVCrV1MTKDPD7GnfMLNlvemnYH 8P5nXoiZWucf8idE/gHKyW11cxWXK0pPqI9AHHsc= Original-Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4S7dYv5436z1y04; Sun, 15 Oct 2023 11:39:15 +0000 (UTC) Original-Received: from sappc2 (port-92-194-212-150.dynamic.as20676.net [92.194.212.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4S7dYm1nQ4z9sP4; Sun, 15 Oct 2023 11:39:05 +0000 (UTC) In-Reply-To: <83ttqsp5x1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 15 Oct 2023 12:54:18 +0300") X-purgate-type: clean X-purgate: clean X-purgate-size: 561 X-purgate-ID: 155817::1697369951-9369BE22-A73AAAEA/0/0 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:272505 Archived-At: Eli Zaretskii writes: > But I think I can guess what you wanted to say: you wanted to say that > set-file-modes is called _only_ if set-file-extended-attributes fails, > and it doesn't fail in this scenario. Is that what you wanted to say? Yes! Thanks for guessing :-) And I have been asking a related question implicitly in the previous conversation, so here is it explicitly: Using *only* the extended-attribute Elisp functions and objects, is there currently a way to implement the equivalent of "chmod u+w FILE" in Elisp?