I'm working up a VB.NET activity for my students, whereby they create
a kml file from user input (lat/long, place name, etc.).
Using System.Diagnostics.Process.Start, the kml file will be used to
a. Open Google Earth (stand-alone)
b. Open Google Maps (browser window) with the kml file as a parameter query.
Option b requires the kml file to be located on a web server; so long
as the students have already mapped a drive to one of their network
shares (zoosecure, fs1.cems), it is easy to save the kml file to the
Problem is, the new file is not saved with appropriate permissions
(644). I thought I remembered that all new files saved to public_html
are automatically tagged 644, but this isn't happening.
Any suggestions would be appreciated, for something seamless that can
be done either
a) once, before running the app, (e.g., priming public_html such all
subsequent files do have 644 permissions) or
b) from within the VB.NET app, e.g., opening a shell to execute a
command that automatically sets permissions of the current public_html
contents (but without hard-coding credentials), or programmatically
setting permissions for this particular file.
Thanks very much,