[X2Go-Dev] Bug#438: x2goserver and rhel6.4 / selinux Problem
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Fri Feb 28 13:20:51 CET 2014
Hi Frank,
On Fr 28 Feb 2014 13:15:41 CET, Frank Knoben wrote:
> Hi Mike,
>
> what about the following solution / proposal for the x2goruncommand script:
>
>
> ....
> # run logout scripts
>
> FIX_XAUTH=`ls -Z $HOME/.Xauthority | egrep default_t`
> if test -n $FIX_AUTH
> then
> /usr/bin/chcon unconfined_u:object_r:xauth_home_t:s0 $HOME/.Xauthority
> fi
>
>
> test -r /etc/x2go/x2go_logout && . /etc/x2go/x2go_logout
>
> ...
>
> this fixes the selinux file permission in case, it it set to
> system_u:object_r:default_t:s0
> It works on my system.
>
> sincerly
>
> Frank
The position where you propose adding the fix does not seem right to
me. As the file permissions will stay "wrong" for the duration of the
session and will only be corrected after the session has ended.
Do I understand it correctly, that the file permissions need adaptions
directly after session startup (i.e. after launching the session
(destop) command)?
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140228/ff63bf6c/attachment.pgp>
More information about the x2go-dev
mailing list