Andr <[email protected]> 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.


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

Reply via email to