Bug #5071: glideinwms frontend & factory stopping is slow
Problems invoking startup scripts as the wrong user
If you invoke the startup scripts (frontend_startup, factory_startup) as the wrong user, e.g. do a reconfig operation as root, they will change ownership of some files corrupting a previously working frontend/factory.
I'd like to add a check to both of them:
- if they are invoked by a user that does not own the XML config file in the working directory (not the one in the config dir or /etc), then they print an error message and exit
This could be a feature/safeguard if you imply the admin is behaving always correctly.