PeterJCLaw / srcomp-puppet

Student Robotics Competition Server
https://github.com/PeterJCLaw/srcomp/wiki/Component-Overview#srcomp-puppet
MIT License
0 stars 4 forks source link

/srv has invalid permissions #21

Closed WillB97 closed 1 year ago

WillB97 commented 2 years ago

On recent raspbian and ubuntu the cloning the of the compstate fails with permission denied.

Setting the permissions of /srv before cloning fixes this.

    file { "/srv":
        ensure  => directory,
        owner   => 'srcomp',
        group   => 'www-data',
        mode    => '0775',
    }
PeterJCLaw commented 1 year ago

I believe this was fixed by 2d8a48c.