I'm using the Raspbian (a distribution made for Raspberry Pi, which is based on Debian).
I have some scripts that use i2c.
Normally only root has read and write permissions for i2c.
I'm using this command to add i2c r/w permissions for normal user:
# chmod a+rw /dev/i2c-*
However after reboot, these devices have their default permissions.
What is the best way to make my i2c available for r/w for a normal user permanently?
Is there a more "elegant" way than adding my script to init.d that runs the command above after my Raspberry Pi boots?