Commit 5207817d authored by Tails developers's avatar Tails developers
Browse files

vagrant: set permissions of copied files during provisioning

Otherwise, local umasks might make them unreadable to the 'vagrant' user.
parent ba17dcaa
......@@ -13,7 +13,7 @@ apt-get update
apt-get -y install apt-cacher-ng
# Install custom configuration for apt-cacher-ng and restart
sudo cp /vagrant/provision/assets/acng.conf /etc/apt-cacher-ng/acng.conf
install -o root -g root -m 644 /vagrant/provision/assets/acng.conf /etc/apt-cacher-ng/acng.conf
service apt-cacher-ng restart
# Restore local HTTP proxy if needed
......@@ -67,4 +67,4 @@ make
(cd /home/vagrant/ikiwiki && make install)
# Add build script
cp /vagrant/provision/assets/build-tails /usr/local/bin
install -o root -g root -m 755 /vagrant/provision/assets/build-tails /usr/local/bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment