I'm working on a module that when I call echo "hello" > /dev/filename I get bash: /dev/filename: permission denied. For me to get permission I have to call sudo chmod 666 /dev/filename and then echo can work. How can I make my module to have root permission so I don't have to call sudo chmod 666?
ED: It's a character module