Fix LXC volume attach issue
Fix LXC volume attach issue

Fix erroneous use of echo to set permissions on LXC volume access.
Fixes bug 943304.

Note that based on input from the duplicate bug (948193), we set:
b x:x rwm
to /sys/fs/cgroup/devices/libvirt/lxc/x/devices.allow

instead of:
c x:x rwm
to /sys/fs/cgroup/devices/sysdefault/libvirt/lxc/x/devices.allow

Change-Id: Ia048d3f46799839b4b85c781bb50488e09ba9b5e

dawnpower/nova,rajalokan/nova,rrader/nova-docker-plugin,spring-week-topos/nova-week,fajoy/nova,petrutlucian94/nova,takeshineshiro/nova,cyx1231st/nova,jianghuaw/nova,barnsnake351/nova,sridevikoushik31/nova,OpenAcademy-OpenStack/nova-scheduler,cernops/nova,maoy/zknova,plumgrid/plumgrid-nova,edulramirez/nova,psiwczak/openstack,shail2810/nova,dstroppa/openstack-smartos-nova-grizzly,OpenAcademy-OpenStack/nova-scheduler,dims/nova,ewindisch/nova,cernops/nova,maelnor/nova,tudorvio/nova,Yuriy-Leonov/nova,maheshp/novatest,Triv90/Nova,vmturbo/nova,Stavitsky/nova,rahulunair/nova,gooddata/openstack-nova,vladikr/nova_drafts,TieWei/nova,alvarolopez/nova,yosshy/nova,iuliat/nova,affo/nova,NoBodyCam/TftpPxeBootBareMetal,Metaswitch/calico-nova,phenoxim/nova,openstack/nova,belmiromoreira/nova,joker946/nova,sileht/deb-openstack-nova,eharney/nova,CiscoSystems/nova,aristanetworks/arista-ovs-nova,devendermishrajio/nova,sridevikoushik31/nova,j-carpentier/nova,rajalokan/nova,isyippee/nova,raildo/nova,scripnichenko/nova,JioCloud/nova_test_latest,viggates/nova,rrader/nova-docker-plugin,dims/nova,sacharya/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,ntt-sic/nova,petrutlucian94/nova,redhat-openstack/nova,houshengbo/nova_vmware_compute_driver,mahak/nova,imsplitbit/nova,usc-isi/nova,badock/nova,maelnor/nova,ewindisch/nova,tealover/nova,paulmathews/nova,Francis-Liu/animated-broccoli,openstack/nova,fajoy/nova,nikesh-mahalka/nova,silenceli/nova,JianyuWang/nova,bclau/nova,berrange/nova,alexandrucoman/vbox-nova-driver,akash1808/nova_test_latest,zhimin711/nova,yrobla/nova,bigswitch/nova,CloudServer/nova,NewpTone/stacklab-nova,dawnpower/nova,sridevikoushik31/nova,iuliat/nova,Juniper/nova,jianghuaw/nova,klmitch/nova,devoid/nova,tealover/nova,eonpatapon/nova,MountainWei/nova,shahar-stratoscale/nova,aristanetworks/arista-ovs-nova,MountainWei/nova,alaski/nova,josephsuh/extra-specs,NeCTAR-RC/nova,zhimin711/nova,cloudbase/nova,maoy/zknova,ted-gould/nova,gooddata/openstack-nova,LoHChina/nova,cloudbase/nova-virtualbox,kimjaejoong/nova,usc-isi/nova,noironetworks/nova,sileht/deb-openstack-nova,angdraug/nova,sridevikoushik31/nova,takeshineshiro/nova,sebrandon1/nova,akash1808/nova,j-carpentier/nova,gspilio/nova,sridevikoushik31/openstack,devendermishrajio/nova_test_latest,mmnelemane/nova,noironetworks/nova,Metaswitch/calico-nova,Yusuke1987/openstack_template,isyippee/nova,houshengbo/nova_vmware_compute_driver,NeCTAR-RC/nova,yrobla/nova,alaski/nova,sileht/deb-openstack-nova,mahak/nova,watonyweng/nova,blueboxgroup/nova,zzicewind/nova,tanglei528/nova,maheshp/novatest,qwefi/nova,eharney/nova,TwinkleChawla/nova,fnordahl/nova,belmiromoreira/nova,jianghuaw/nova,saleemjaveds/https-github.com-openstack-nova,BeyondTheClouds/nova,houshengbo/nova_vmware_compute_driver,leilihh/novaha,petrutlucian94/nova_dev,savi-dev/nova,josephsuh/extra-specs,SUSE-Cloud/nova,alvarolopez/nova,gooddata/openstack-nova,felixma/nova,bigswitch/nova,plumgrid/plumgrid-nova,hanlind/nova,maoy/zknova,zaina/nova,DirectXMan12/nova-hacking,rajalokan/nova,gspilio/nova,Yuriy-Leonov/nova,TieWei/nova,alexandrucoman/vbox-nova-driver,fajoy/nova,cloudbase/nova-virtualbox,jeffrey4l/nova,eneabio/nova,tudorvio/nova,Stavitsky/nova,double12gzh/nova,JioCloud/nova,devendermishrajio/nova_test_latest,bgxavier/nova,rickerc/nova_audit,JioCloud/nova_test_latest,eneabio/nova,CiscoSystems/nova,rahulunair/nova,thomasem/nova,ntt-sic/nova,sebrandon1/nova,Francis-Liu/animated-broccoli,barnsnake351/nova,affo/nova,tianweizhang/nova,Triv90/Nova,usc-isi/extra-specs,NoBodyCam/TftpPxeBootBareMetal,Brocade-OpenSource/OpenStack-DNRM-Nova,leilihh/nova,shahar-stratoscale/nova,TwinkleChawla/nova,mikalstill/nova,Juniper/nova,devoid/nova,JioCloud/nova,vmturbo/nova,savi-dev/nova,CCI-MOC/nova,ruslanloman/nova,dstroppa/openstack-smartos-nova-grizzly,cloudbase/nova,thomasem/nova,paulmathews/nova,berrange/nova,varunarya10/nova_test_latest,cloudbase/nova,akash1808/nova,aristanetworks/arista-ovs-nova,gspilio/nova,watonyweng/nova,joker946/nova,blueboxgroup/nova,cloudbau/nova,zzicewind/nova,sebrandon1/nova,orbitfp7/nova,shootstar/novatest,citrix-openstack-build/nova,bgxavier/nova,mmnelemane/nova,JianyuWang/nova,viggates/nova,NewpTone/stacklab-nova,vmturbo/nova,gooddata/openstack-nova,adelina-t/nova,dstroppa/openstack-smartos-nova-grizzly,raildo/nova,qwefi/nova,luogangyi/bcec-nova,hanlind/nova,cernops/nova,rickerc/nova_audit,klmitch/nova,silenceli/nova,double12gzh/nova,yosshy/nova,projectcalico/calico-nova,mgagne/nova,scripnichenko/nova,bclau/nova,eonpatapon/nova,DirectXMan12/nova-hacking,angdraug/nova,Tehsmash/nova,usc-isi/nova,tianweizhang/nova,cyx1231st/nova,saleemjaveds/https-github.com-openstack-nova,psiwczak/openstack,CEG-FYP-OpenStack/scheduler,mandeepdhami/nova,nikesh-mahalka/nova,orbitfp7/nova,redhat-openstack/nova,usc-isi/extra-specs,devendermishrajio/nova,mahak/nova,petrutlucian94/nova_dev,virtualopensystems/nova,whitepages/nova,mandeepdhami/nova,openstack/nova,DirectXMan12/nova-hacking,klmitch/nova,adelina-t/nova,savi-dev/nova,yrobla/nova,vladikr/nova_drafts,tanglei528/nova,tangfeixiong/nova,NoBodyCam/TftpPxeBootBareMetal,mgagne/nova,yatinkumbhare/openstack-nova,ted-gould/nova,ruslanloman/nova,vmturbo/nova,sacharya/nova,leilihh/novaha,spring-week-topos/nova-week,apporc/nova,mikalstill/nova,luogangyi/bcec-nova,shootstar/novatest,LoHChina/nova,virtualopensystems/nova,psiwczak/openstack,tangfeixiong/nova,Triv90/Nova,hanlind/nova,badock/nova,Tehsmash/nova,maheshp/novatest,eayunstack/nova,SUSE-Cloud/nova,rahulunair/nova,sridevikoushik31/openstack,imsplitbit/nova,cloudbau/nova,Yusuke1987/openstack_template,felixma/nova,CloudServer/nova,zaina/nova,kimjaejoong/nova,sridevikoushik31/openstack,Juniper/nova,josephsuh/extra-specs,BeyondTheClouds/nova,jianghuaw/nova,klmitch/nova,apporc/nova,eneabio/nova,whitepages/nova,fnordahl/nova,paulmathews/nova,jeffrey4l/nova,eayunstack/nova,citrix-openstack-build/nova,CCI-MOC/nova,edulramirez/nova,shail2810/nova,usc-isi/extra-specs,CEG-FYP-OpenStack/scheduler,akash1808/nova_test_latest,Juniper/nova,mikalstill/nova,varunarya10/nova_test_latest,phenoxim/nova,leilihh/nova,BeyondTheClouds/nova,NewpTone/stacklab-nova,projectcalico/calico-nova,rajalokan/nova,yatinkumbhare/openstack-nova