diff -r ec018606c207 -r 68a4f654dc00 DHT-changeOwner.notice --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DHT-changeOwner.notice Thu Jul 05 08:48:18 2018 +0000 @@ -0,0 +1,21 @@ +important! +after recompile of the IOC, you have to set +root as owner of the IOC-executable (bin//kstm) +and set the sticky bit so it will be executed as root +instead of local user. + +the DHT22 temperature & humidity sensor need root access +for direct interaction with the GPIO pins of the +raspberry pi! + +do it as follows: + +###### +cd bin/linux-arm/ +sudo chown root:root kstm +sudo chmod u+s kstm +###### + +check success with ls -la +it should be marked red and have +-r-sr-xr-x root root