tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `file-selinux-context' does not return context in Permissive mode


From: Jürgen Hötzel
Subject: Re: `file-selinux-context' does not return context in Permissive mode
Date: Sat, 15 Aug 2015 11:07:40 +0200

Hi Michael,

On Fri, Aug 14, 2015 at 9:33 PM, Michael Albinus <address@hidden> wrote:
Jürgen Hötzel <address@hidden> writes:

> Hi,

Hi Juergen,

> this is because `tramp-remote-selinux-p' only returns `t' when the
> getenforce command prints "Enforcing".
>
> IMHO a better way to check for selinux would be to use the exit status
> of selinuxenabled.
>
> Any objections?

Go on. I have no experience with SELinux, so I might have implemented
this stupid check.

Done. I also fixed a minor caching issue in `tramp-sh-handle-set-file-selinux-context': See Changelog entry.

Regards, Jürgen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]