GNU bug report logs - #13282
24.2.91; tramp clobbers file owner/group

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Wed, 26 Dec 2012 20:19:02 UTC

Severity: important

Found in version 24.2.91

Fixed in version 24.2.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 13282 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 13282 <at> debbugs.gnu.org
Subject: Re: bug#13282: 24.2.91; tramp clobbers file owner/group
Date: Fri, 28 Dec 2012 18:44:27 +0100
Andreas Schwab <schwab <at> linux-m68k.org> writes:

>> It even happens with make-backup-files == t.  Just edit a file with a
>> non-default group, like /etc/shadow.
>>
>> Tramp: Inserting `/sudo:root <at> igel.home:/etc/shadow'...done
>>
>> Tramp: Checking `vc-registered' for /sudo:root <at> igel.home:/etc/shadow...done
>> Tramp: Inserting `/sudo:root <at> igel.home:/etc/shadow'...done
>> Saving file /sudo:root <at> igel.home:/etc/shadow...
>> Copying /sudo:root <at> igel.home:/etc/shadow to
>> /sudo:root <at> igel.home:/etc/shadow.~1~...done
>
> Note that the backup copy retains the correct attributes.

Thanks for this test case; I see it now as well. I've committed a fix to
the emacs-24 branch; could you, please, check?

> Andreas.

Best regards, Michael.




This bug report was last modified 12 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.