Changeset 67
- Timestamp:
- 04/12/2006 18:39:54 (6 years ago)
- File:
-
- 1 edited
-
confman/confman (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
confman/confman
r66 r67 501 501 fi 502 502 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` 509 505 # Let's make our best guess on the comment character: 510 506 local tmpfile=`mktemp -t confman` … … 609 605 610 606 if [ -d $realpath ] ; then 611 eval `s tat -f "mode=%Mp%Lp owner=%Su group=%Sg" $realpath`607 eval `sudo stat -f "mode=%Mp%Lp owner=%Su group=%Sg" $realpath` 612 608 613 609 # Convert mode string to base 10:
Note: See TracChangeset
for help on using the changeset viewer.
