I don't think going back to use a plain file would be the best choice in this case. I would say it's pretty rare seeing someone running cgmail as root user cause you don't need any special permission to launch / use it. It would be nice to create a message like 'cgmail cannot be run as root user, please launch it using your normal user access' when someone tries to launch it as root avoiding any regression to a plain file. Let me know what do you think.
I don't think going back to use a plain file would be the best choice in this case. I would say it's pretty rare seeing someone running cgmail as root user cause you don't need any special permission to launch / use it. It would be nice to create a message like 'cgmail cannot be run as root user, please launch it using your normal user access' when someone tries to launch it as root avoiding any regression to a plain file. Let me know what do you think.