First ever post on any forum so apologies in advance for any newbie errors or poor etiquette.
I am in the process developing a Ubuntu / Chrome (PHP,mysql) based kiosk application. One of the requirements is to do daily backups of the database to a USB Flash Drive. I have this working on a Windows dev system however I have hit a problem under Linux with my poor knowledge of the OS.
I cannot figure out how to (if indeed it is possible) allow the web server access to write to the the attached USB drive? From my understanding this runs as user www-data, do I need to add this user to a Group or edit permissions somewhere?
Any thoughts or advice greatly appreciated.