in reply to Re^4: USB interface
in thread USB interface

you could change the rights of the users in order to not allow then write directly to the drive, then have an new group which can write to the drive and make your program run sudo on this group, then it will be able to write to the drive.