Comment 14 for bug 155937

Revision history for this message
sibidiba (sibidiba) wrote : Re: SHMConfig should be enabled by default, and gsynaptics should be installed by default on laptops

Because I couldn't find any other interface in the source code, I enabled SHMConfig by default again.

Although permissions (for the shared memory) is set to 0770.

I also introduced a new option, "SHMGroup", set by default to "admin".
When SHMConfig is on, the shared memory area will belong to the GID of this group. If the group does not exists, it falls back to 0 (root).

This way any user in the SHMGroup is able to configure the touchpad. Also the first user in a default install, without modifying xorg.conf.

This can no longer be considered as a security risk, because all members of the group "admin" (default SHMGroup value) are able to use sudo (with their own passwords) by default, so they could do "nasty things" either way.

This change is documented. I also updated synclient and syndaemon to handle a permission denied on the shared memory.

Patch attached.