Hey Guys,
I'm writing an app with a native library. Within, this library i need to use 'chmod' to allow permissions. It works fine when i type it into the terminal, but i have been trying to use this:
system("chmod 777 /proc/bus/usb/001");
but it doesn't work. I have tried lots of different syntax eg, ' // ' & ' \/' but it always fails. If anybody knows the correct way to call this, that would be fantastic!
Thanks, Tony.
I'm writing an app with a native library. Within, this library i need to use 'chmod' to allow permissions. It works fine when i type it into the terminal, but i have been trying to use this:
system("chmod 777 /proc/bus/usb/001");
but it doesn't work. I have tried lots of different syntax eg, ' // ' & ' \/' but it always fails. If anybody knows the correct way to call this, that would be fantastic!
Thanks, Tony.