Sascha Wilde <[EMAIL PROTECTED]> writes:
> Kai Großjohann <[EMAIL PROTECTED]> writes:

[Editing existing files as root changes ownership]

>> See variables backup-by-copying and backup-by-copying-*.
>>
>> (Emacs behaves the same when run as root and editing the file normally.)
>>
>> Was that it?
> 
> Yes, thanks!
> 
> Setting backup-by-copying to t makes emacs (with and without tramp)
> behave as I would expect it.

For some reasons the problem recently reappeared in CVS Emacs:

The file /path/to/example on host bob is owned by root.foo
visiting it from another host as /ssh:[EMAIL PROTECTED]:/path/to/example
editing and saving leads to it being owned by root.root.

I have backup-by-copying set to t.

Any Ideas?

Known problem?

cheers
sascha
-- 
Sascha Wilde                                      OpenPGP key: 4BB86568
Intevation GmbH, Osnabrück             http://www.intevation.de/~wilde/
Amtsgericht Osnabrück, HR B 18998             http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

Attachment: pgpd3w7Aqupwn.pgp
Description: PGP signature

_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to