Currently, if you don't run the Linux database scripts as a super user or root user, the script will give off an error even though it executed correctly. The scripts end with "sudo gedit" to open the grants.txt or GPT_Schema.txt that was generated by the script. However, if you don't run the script as a super user or root user, the script will give off an error that will make you think the script failed to run correctly and you need to run again. However, the script did run correctly; it was only the text file that failed to open.
To fix this error, the line should be changed to a text statement that says something like, "Script completed, please view <text file location>/<grants or GPT_schema>.txt for details." This fix will also prevent users who do not have gedit installed from receiving that error.
Log in to post a comment.