Changeset 67


Ignore:
Timestamp:
04/12/2006 18:39:54 (6 years ago)
Author:
ccowart
Message:

And the testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • confman/confman

    r66 r67  
    501501        fi 
    502502 
    503         if [ -f $file ] ; then 
    504                 usefile=1 
    505         fi 
    506  
    507         if [ ! -z $usefile ] ; then 
    508                 eval `stat -f "mode=%Mp%Lp owner=%Su group=%Sg" $file` 
     503        if sudo [ -f $file ] ; then 
     504                eval `sudo stat -f "mode=%Mp%Lp owner=%Su group=%Sg" $file` 
    509505                # Let's make our best guess on the comment character: 
    510506                local tmpfile=`mktemp -t confman` 
     
    609605 
    610606        if [ -d $realpath ] ; then 
    611                 eval `stat -f "mode=%Mp%Lp owner=%Su group=%Sg" $realpath` 
     607                eval `sudo stat -f "mode=%Mp%Lp owner=%Su group=%Sg" $realpath` 
    612608 
    613609                # Convert mode string to base 10: 
Note: See TracChangeset for help on using the changeset viewer.