On 03/04/2014 05:36 PM, Orion Poplawski wrote:
On 03/04/2014 04:02 AM, Frank Knoben wrote:
When I put the lines in the x2gostartagent script
after the
XAUTHORITY=${XAUTHORITY:-"$HOME/.Xauthority"}
line, the permissions will be fixed on login and not on logout. Unfortunately, restorcon sets the permissions to system_u:object_r:default_t:s0 and this does not work on my system.
That's not right. What is your home directory? What does matchpathcon $HOME return?
matchpathcon $HOME returns system_u:object_r:default_t:s0
I switched the default home location from /home/user to /data/user and changed the permissions of /data/user with chcon -R unconfined_u:object_r:user_home_dir_t:s0 /data/user