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: Michael Albinus
Subject: Re: `file-selinux-context' does not return context in Permissive mode
Date: Fri, 14 Aug 2015 21:33:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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.

> Regards,
>
> Jürgen

Best regards, Michael.



reply via email to

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