Changeset 178 for nutchez-0.2/src


Ignore:
Timestamp:
Jun 10, 2010, 4:21:38 PM (14 years ago)
Author:
shunfa
Message:

更改資料夾權限執行順序

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install_func.sh

    r173 r178  
    247247  mkdir /home/nutchuser/nutchez/system
    248248  chmod 777 /opt/nutchez
    249   #su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/opt/nutchez /opt/"
    250   debug_info "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source"
    251   su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/home/nutchuser/nutchez/source/NutchezForClientOf_$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source"
    252 
    253249  debug_info "chown -R nutchuser:nutchuser /opt/nutchez"
    254250  chown -R nutchuser:nutchuser /opt/nutchez
     
    256252  chown -R nutchuser:nutchuser /home/nutchuser/nutchez
    257253  chmod 755 /opt/nutchez
     254  debug_info "scp -r nutchuser@$1:/opt/nutchez/NutchezForClientOf_$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source"
     255  su nutchuser -c "scp -r -o StrictHostKeyChecking=no nutchuser@$1:/home/nutchuser/nutchez/source/NutchezForClientOf_$Master_IP_Address.tar.gz /home/nutchuser/nutchez/source"
     256
    258257}
    259258
Note: See TracChangeset for help on using the changeset viewer.