Ignore:
Timestamp:
08/31/2007 12:14:28 (5 years ago)
Author:
terrio
Message:

Bug fix for singularities that aren't world-readable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman/confmanlib.sh

    r169 r173  
    293293                livepart="${LIVE_ROOT}${file}-${layer}" 
    294294                myfile="${WORK_PATH}/${layer}/${file}-${layer}" 
    295                 if [ -f $myfile -a -f $livepart ] ; then 
     295                if sudo [ -f $myfile -a -f $livepart ] ; then 
    296296                                owner=`conf_get_prop ${myfile} owner` 
    297297                                group=`conf_get_prop ${myfile} group` 
    298298                                mode=`conf_get_prop     ${myfile} mode` 
    299299                                comment=`conf_get_prop  ${myfile} comment` 
    300                         cat $livepart >> $tmpfile 
     300                        sudo cat $livepart >> $tmpfile 
    301301                        sudo rm $livepart 
    302302                        flag=1 
Note: See TracChangeset for help on using the changeset viewer.