drencken / VRS-flights-db

Code to export Virtual Radar Server flight records and track logs to a MySQL database.
2 stars 1 forks source link

Linux Mint: Permission denied errors #1

Open lilrags16 opened 7 years ago

lilrags16 commented 7 years ago
sudo '/home/lilrags16/virt-radar/db_query.sh' 
/home/lilrags16/virt-radar/db_query.sh: line 2: /home/lilrags16/virt-radar/db.sqb: Permission denied

/home/lilrags16/virt-radar/db_query.sh: line 5: /home/lilrags16/virt-radar/dbquerycommands.txt: Permission denied
/var/www/html/webserver/flights.csv
/home/lilrags16/virt-radar/db_query.sh: line 10: $SQLFILE: ambiguous redirect
File not found. Make sure you specified the correct path.

I'm running Linux Mint with apache2 with MySQL. I even tried changing file premissions, and had no change.

drencken commented 7 years ago

I am running on Ubuntu and not seeing permissions issues. I can run db_query.sh without having to invoke sudo.

lilrags16 commented 7 years ago

Strange, any ideas?

On Apr 27, 2017 10:47, "drencken" notifications@github.com wrote:

I am running on Ubuntu and not seeing permissions issues. I can run db_query.sh without having to invoke sudo.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/drencken/VRS-flights-db/issues/1#issuecomment-297772916, or mute the thread https://github.com/notifications/unsubscribe-auth/ALYcA7G9pS_Jsnd2BbrLSRRLadVUGFxhks5r0MaegaJpZM4NKcIG .

drencken commented 7 years ago

Try typing the commands manually at the command line maybe and see if there is any more error output.