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.comp.lib.gnulib.bugs,gmane.emacs.devel Subject: Re: errors from fchownat copying directories Date: Sat, 26 Aug 2023 19:57:55 +0300 Message-ID: <83jzthlp0s.fsf@gnu.org> References: <835y52meww.fsf@gnu.org> <87wmxi1ad3.fsf@yahoo.com> <13334762.uLZWGnKmhe@nimes> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, eggert@cs.ucla.edu, emacs-devel@gnu.org, bug-gnulib@gnu.org To: Bruno Haible Original-X-From: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Sat Aug 26 18:57:42 2023 Return-path: Envelope-to: gnu-bug-gnulib@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 1qZwbV-0009iW-Sb for gnu-bug-gnulib@m.gmane-mx.org; Sat, 26 Aug 2023 18:57:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZwbJ-0005am-BR; Sat, 26 Aug 2023 12:57:29 -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 1qZwbI-0005aa-Ll; Sat, 26 Aug 2023 12:57:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZwbG-0001VA-Rk; Sat, 26 Aug 2023 12:57:26 -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=MskPctIgXW1m8tpCbRC40swQDxP3XUkNaAnlq4kdiGM=; b=KbvnWTEqMn/S vgdTEVAnixCmxYBnc+gl1uRnbDsl9TWCxsz+yEIHF682p0xznVPTzJ9fMCRukaWcqsUITATGembT+ 6lt/ATgz/Zg6IaE+7CukJNssVgBpiRc6u4AqXz9+OTbxGCyyhdDLoomTQz67TMzcEaXKszDKV1olD +WibSs7g6PmxJBSBsValscGw8nCrFeRwbQvvA3jixuaMeu97MToJRlo9eWecSTMX/eCJxBSApuPse bQx1fXwdzwc4AzwrYMBICdTG+08xrNF7OFP78uCyWWXyjgEXKLdrgri6cIvg8OGOqrbpLJG6lXZur xwHaxk/8SI6PPlyP2h5EOA==; In-Reply-To: <13334762.uLZWGnKmhe@nimes> (message from Bruno Haible on Sat, 26 Aug 2023 18:40:20 +0200) X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Original-Sender: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.comp.lib.gnulib.bugs:48239 gmane.emacs.devel:309263 Archived-At: > From: Bruno Haible > Cc: emacs-devel@gnu.org, bug-gnulib@gnu.org > Date: Sat, 26 Aug 2023 18:40:20 +0200 > > Paul Eggert wrote: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=349798a9b81fb4f7f8e1e1963ea9039a4a68a471 > > Isn't there something missing in this function 'copy-directory', > around emacs/lisp/files.el line 6624? I see code for preserving the modes > and the times, but not for preserving the owner. See https://lists.gnu.org/archive/html/emacs-devel/2009-10/msg00094.html and the ensuing discussion, where we eventually decided not to do that.