[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: su(do) vs SELinux
From: |
Michael Albinus |
Subject: |
Re: su(do) vs SELinux |
Date: |
Sun, 08 Nov 2009 11:52:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Andr <address@hidden> writes:
> Hello, trampers,
Hi,
> as known, after su(do)-ing a file with Tramp, there may be a problem
> when using SELinux regarding changed domain type. This is due to the
> temporary file caring its flawed SELinux context. However, if the
> temp file is copied instead of moved over the original, original
> context is kept without dealing with special commands. This little
> change to tramp-handle-write-region seems to do the job, if not, at
> least you get an idea ;)
I'v committed your patch (slightly changed).
Thanks, and best regards, Michael.