From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: tramp (2.0.52); Saving files changes ownership Date: Sun, 21 Oct 2007 13:01:29 +0200 Message-ID: <877ilghgty.fsf@gmx.de> References: <43E271C6.8030901@emptydomain.de> <87ejfrn4se.fsf@gmx.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192964594 20190 80.91.229.2 (21 Oct 2007 11:03:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 11:03:14 +0000 (UTC) Cc: tramp-devel@gnu.org, Kai =?iso-8859-15?Q?Gro=DFjohann?= , emacs-devel@gnu.org To: Sascha Wilde Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Sun Oct 21 11:03:11 2007 Return-path: Envelope-to: tramp@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1IjYaL-0008RV-L9 for tramp@deer.gmane.org; Sun, 21 Oct 2007 11:03:09 +0000 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IjYaG-0006gb-00 for ; Sun, 21 Oct 2007 13:03:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjYaL-0004HO-3e for tramp@quimby.gnus.org; Sun, 21 Oct 2007 07:03:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjYYk-00026n-51 for tramp-devel@gnu.org; Sun, 21 Oct 2007 07:01:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjYYj-00025s-G7 for tramp-devel@gnu.org; Sun, 21 Oct 2007 07:01:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjYYi-00025N-VZ for tramp-devel@gnu.org; Sun, 21 Oct 2007 07:01:29 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IjYYh-0004Bu-Nc for tramp-devel@gnu.org; Sun, 21 Oct 2007 07:01:28 -0400 Original-Received: (qmail invoked by alias); 21 Oct 2007 11:01:26 -0000 Original-Received: from p57A20FC9.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.15.201] by mail.gmx.net (mp053) with SMTP; 21 Oct 2007 13:01:26 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18KaPI0nZMKFImRpmDjg8UzU8Ous5TNgsLHlAdwj4 HgFpVgVKP6IFki In-Reply-To: (Sascha Wilde's message of "Fri, 19 Oct 2007 09:47:57 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:6342 gmane.emacs.devel:81361 Archived-At: Sascha Wilde writes: >> Tramp 2.1.11 respects now the parameter PRESERVE-UID-GID of `copy-file'. >> Does the following patch (files.el in Emacs trunk) help? > > No, at a quick test it didn't. I applied your patch (assuming it were > an revert patch), reevaluated backup-buffer-copy, visited and saved a > remote file, but with the same result, the group was changed... Indeed. In fileio.c, Fcopy_buffer calls the file name handler without preserve-uid-and-gid. I've committed the patches for files.el and fileio.c to the Emacs trunk. Could you, please, test it? > cheers > sascha Best regards, Michael.