raspberrypi / maynard

Desktop environment for Wayland
Other
337 stars 46 forks source link

Adding in check_group_membership to launch script #21

Closed rsdoiel closed 8 years ago

rsdoiel commented 10 years ago

I've added a simple check in the startup script to see if the logged in user is in the following groups

This prevents the human hostile errors of weston failing to launch properly because of security restrictions. This approach is generally debian friendly but has only be tested in the Raspberry Pi. Other Unix may use other permissions.

jonnylamb commented 10 years ago

I only just noticed this patch, thanks! Just two points:

Indentation seems a bit odd in places?

Is there any way we can not make this bash-specific? It seems an unnecessary addition for what the patch actually does.