From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43723: 27.1; Errors in file-extended-attributes prevent from saving buffer Date: Wed, 30 Sep 2020 17:43:14 +0300 Message-ID: <83sgaziav1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27080"; mail-complaints-to="usenet@ciao.gmane.io" To: 43723@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 30 16:44:24 2020 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 1kNdLE-0006vr-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 16:44:24 +0200 Original-Received: from localhost ([::1]:38672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNdLC-0004WC-NE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 10:44:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNdKs-0004VH-DT for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNdKs-00038I-2M for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNdKr-0006Py-W0 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43723 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160147701024622 (code B ref -1); Wed, 30 Sep 2020 14:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Sep 2020 14:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:60715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNdKL-0006P3-U6 for submit@debbugs.gnu.org; Wed, 30 Sep 2020 10:43:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNdKK-0006Ow-En for submit@debbugs.gnu.org; Wed, 30 Sep 2020 10:43:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNdKE-00049H-AX for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:43:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34668) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNdKD-00033g-TK for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:43:22 -0400 Original-Received: from [176.228.60.248] (port=4883 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNdKD-0007On-66 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 10:43:21 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:189350 Archived-At: When some volume is mounted such that file-extended-attributes fails for files there (because the agent used to mount doesn't support ACLs or SELinux), this prevents users from saving their edits to files on that volume, because file-extended-attributes signals an error. This appears as a regression to users because Emacs 26 silently ignored such errors. To allow users to save the files in these cases, but still keep them informed about the loss of potentially important attributes, Emacs should probably warn about this, allow the user to decide he/she wants to ignore the problem, and record this fact somewhere, to avoid asking the same question again for the same volume. Bonus points for providing a defcustom where users could state in advance the volumes for which such errors should be ignored. In GNU Emacs 27.1 (build 1, i686-pc-mingw32) of 2020-08-11 built on HOME-C4E4A596F7 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 System Description: Microsoft Windows XP Service Pack 3 (v5.1.0.2600) Recent messages: Saving file d:/gnu/git/emacs/trunk/.git/COMMIT_EDITMSG... Wrote d:/gnu/git/emacs/trunk/.git/COMMIT_EDITMSG Mark set [7 times] Sending... Added to d:/usr/eli/rmail/SENT.MAIL Sending email done Sending...done Showing message 2726...done Showing message 2726...done Modification-flag cleared Configured using: 'configure -C --prefix=/d/usr --with-wide-int --with-modules 'CFLAGS=-O2 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: RMAIL Minor modes in effect: shell-dirtrack-mode: t desktop-save-mode: t save-place-mode: t show-paren-mode: t display-battery-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t buffer-read-only: t line-number-mode: t Load-path shadows: d:/usr/share/emacs/site-lisp/soap-inspect hides d:/usr/share/emacs/27.1/lisp/net/soap-inspect d:/usr/share/emacs/site-lisp/soap-client hides d:/usr/share/emacs/27.1/lisp/net/soap-client Features: (shadow emacsbug apropos tabify grep compile ibuf-ext ibuffer ibuffer-loaddefs arc-mode archive-mode debug backtrace hi-lock double mouse-copy mouse-drag m4-mode xscheme scheme tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 pulse etags fileloop generator skeleton face-remap image-mode exif completion cua-gmrk cua-rect rect cua-base pp descr-text ffap ebuff-menu iso-transl smerge-mode diff quail cl-print misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe find-func thingatpt help-fns radix-tree dabbrev rmailout shr-color color shr url-cookie url-domsuf url-util url-parse url-vars svg xml dom browse-url shell pcomplete comint ansi-color rfc2104 gnutls network-stream nsm mail-extr smtpmail auth-source json map mailalias sendmail cl-extra help-mode cc-awk view enriched conf-mode texinfo make-mode jka-compr vc-cvs bat-mode vc-dispatcher vc-bzr noutline outline flyspell add-log vc-git diff-mode easy-mmode bug-reference mule-util info qp rmailsum rmailmm message rmc puny format-spec rfc822 mml mml-sec password-cache epa epg epg-config gnus-util text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop frameset server find-lisp dired dired-loaddefs filecache mairix cus-edit cus-start cus-load wid-edit saveplace midnight ispell derived generic-x cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs paren xref cl-seq project ring eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib battery time tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 4156244 469197) (symbols 48 40145 57) (strings 16 316024 26318) (string-bytes 1 7689602) (vectors 16 73714) (vector-slots 8 2294162 512108) (floats 8 324 643) (intervals 40 922715 7602) (buffers 888 319))