Re: [PATCH 3/9] drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files.
From: simon
Date: Tue Apr 22 2014 - 12:30:26 EST
> In line with practice for module parameters, we're adding a build-time
> check that sysfs files aren't world-writable.
So this is the equivalent of 'chmod 774 ...' rather than 'chmod 777...'?
Yep I'm OK with that, however what it the recommended way to make sure
that the end user is able to send changes to this /sys portal? I asked the
same question before regarding the led class /sys interface, but never got
any suggestions.
Signed-off-by: Simon Wood <simon@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/