I am attempting to create a new platform based off an old site I made. I am attempting to use the makefile for this site. The make file is in git.
What I am doing right now is cloning my repo (thus downloading the makefile). Then I told Aegir to create a new platform pointing it to this makefile.

I keep getting permission denied. I have tried this with two different users (my own user, and one that was made by Aegir). The user Aeigr made is called o1.self

file permissions :
-rw-rw-r-- 1 o1.self 1975 Apr 17 21:54 fra.make

Task Log:

Task starts processing
Running: /data/disk/o1/tools/drush/drush.php --context_type='platform' --master_url='http://o1.boa.happyplight.com/' --root='/data/disk/o1/static/fra-6.x' --server='@server_master' --web_server='@server_master' --makefile='/home/o1.self/makefiles/frankrobertanderson.com/fra.make' --make_working_copy='null' provision-save '@platform_fra6x' --backend 2>&1
Bootstrap to phase 0.
Drush bootstrap phase : _drush_bootstrap_drush()
Bootstrap to phase 0.
Found command: provision-save (commandfile=provision)
Initializing drush commandfile: db
Initializing drush commandfile: dns
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: example
Initializing drush commandfile: http
Initializing drush commandfile: provision
Load alias @self
Load alias @server_master
Loading nginx driver for the http service
Loading nginx driver for the cdn service
Initializing drush commandfile: provision_cdn
Initializing drush commandfile: provision_civicrm
Load alias @platform_fra6x
Template loaded: /data/disk/o1/.drush/provision/Provision/Config/Drushrc/provision_drushrc_alias.tpl.php
Changed permissions of /data/disk/o1/.drush/platform_fra6x.alias.drushrc.php to 640
Generated config Drush configuration file
Changed permissions of /data/disk/o1/.drush/platform_fra6x.alias.drushrc.php to 440
Command dispatch complete
Peak memory usage was 11.34 MB
Running: /data/disk/o1/tools/drush/drush.php @platform_fra6x provision-verify --backend 2>&1
Bootstrap to phase 0.
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @platform_fra6x
Bootstrap to phase 0.
Found command: provision-verify (commandfile=provision)
Initializing drush commandfile: db
Initializing drush commandfile: dns
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: example
Initializing drush commandfile: http
Initializing drush commandfile: provision
Load alias @server_master
Loading nginx driver for the http service
Loading nginx driver for the cdn service
Initializing drush commandfile: provision_cdn
Initializing drush commandfile: provision_civicrm
Including /data/disk/o1/.drush/provision_civicrm/verify.provision.inc
Including /data/disk/o1/.drush/provision/dns/verify.provision.inc
Including /data/disk/o1/.drush/provision/platform/backupmigrate/verify.provision.inc
Including /data/disk/o1/.drush/provision_boost/verify.provision.inc
Including /data/disk/o1/.drush/provision_cdn/verify.provision.inc
Including /data/disk/o1/.drush/provision/platform/verify.provision.inc
Platform path does not exist, fetching from drush makefile
Running: /data/disk/o1/tools/drush/drush.php make '/home/o1.self/makefiles/frankrobertanderson.com/fra.make' '/data/disk/o1/static/fra-6.x' --backend 2>&1
Bootstrap to phase 0.
Drush bootstrap phase : _drush_bootstrap_drush()
Bootstrap to phase 0.
Found command: make (commandfile=drush_make)
Initializing drush commandfile: db
Initializing drush commandfile: dns
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: example
Initializing drush commandfile: http
Initializing drush commandfile: provision
Load alias @self
Load alias @server_master
Loading nginx driver for the http service
Loading nginx driver for the cdn service
Loading nginx driver for the cdn service
Initializing drush commandfile: provision_cdn
Initializing drush commandfile: provision_civicrm
file_get_contents(/home/o1.self/makefiles/frankrobertanderson.com/fra.make): failed to open stream: Permission denied drush_make.utilities.inc:459
Invalid or empty make file: /home/o1.self/makefiles/frankrobertanderson.com/fra.make
Command dispatch complete
Peak memory usage was 11.08 MB
Could not download platform using drush make. No platform present
Command dispatch complete
Peak memory usage was 11.4 MB
Changes made in drush_hosting_task have been rolled back.
Command dispatch complete
Peak memory usage was 28.9 MB

I have just started working with Aegir and expect that I am doing something wrong. Please help.

Comments

Project:Hostmaster (Aegir)» Octopus
Issue summary:View changes

updated task log, accidentally used old one.

Version:6.x-1.9»
Component:Miscellaneous» Aegir Provision
Status:Active» Closed (works as designed)

This is rather self-explanatory error:

file_get_contents(/home/o1.self/makefiles/frankrobertanderson.com/fra.make): failed to open stream: Permission denied

You should put the makefile in the /data/disk/o1/static/ tree, where Aegir system user can read from, because /home/* dirs are protected so only their owners have read access there.

Awesome, thank you very much for the quick response.

Is there a docs page that explains this? I seriously googled this and read docs looking for this for a while before posting.

Issue summary:View changes

Updated issue summary. removed strong tags