GENI-NSF / geni-ch

GENI clearinghouse services
Other
3 stars 6 forks source link

geni-create-ma-crl hardcodes www-data user #526

Closed tcmitchell closed 8 years ago

tcmitchell commented 8 years ago

On CentOS, the right username is apache, not www-data (Ubuntu). geni-create-ma-crl does a chown on the crlnumber file. is there another way to manage that?

tcmitchell commented 8 years ago

The chown command in question is a no-op because the file is subsequently moved by root, and thus ends up being owned by root, not the apache user. Remove that line and it will work as intended.