Changeset 19762


Ignore:
Timestamp:
2010/12/25 16:51:33 (10 years ago)
Author:
Seasoft
Message:

#821(setup.sh Linux で不具合)
#875(setup.sh ファイルに実行権限を与えている)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/setup.sh

    r19744 r19762  
    1313rm -rf $WRK_DIR/data/downloads/module/* 
    1414rm -rf $WRK_DIR/data/downloads/module2/* 
    15 find $WRK_DIR -name "dummy" -delete 
    16 find $WRK_DIR -name "info.php" -delete 
     15find $WRK_DIR -name "dummy" -print0 | xargs -0 rm -rf 
     16find $WRK_DIR -name "info.php" -print0 | xargs -0 rm -rf 
    1717find $WRK_DIR -name ".svn" -type d -print0 | xargs -0 rm -rf 
    1818# find $WRK_DIR -iname "*.bak" -delete 
    1919 
    2020echo "set permissions..." 
    21 chmod 666 $WRK_DIR/data/install.php 
    22 chmod -R 777 $WRK_DIR/html/install/temp 
    23 chmod -R 777 $WRK_DIR/html/user_data 
    24 chmod -R 777 $WRK_DIR/html/upload 
    25 chmod -R 777 $WRK_DIR/data/cache 
    26 chmod -R 777 $WRK_DIR/data/downloads 
    27 chmod -R 777 $WRK_DIR/data/Smarty 
    28 chmod -R 777 $WRK_DIR/data/class 
    29 chmod -R 777 $WRK_DIR/data/logs 
    30 chmod -R 777 $WRK_DIR/data/upload 
     21chmod a+w $WRK_DIR/data/install.php 
     22chmod -R a+w $WRK_DIR/html/install/temp 
     23chmod -R a+w $WRK_DIR/html/user_data 
     24chmod -R a+w $WRK_DIR/html/upload 
     25chmod -R a+w $WRK_DIR/data/cache 
     26chmod -R a+w $WRK_DIR/data/downloads 
     27chmod -R a+w $WRK_DIR/data/Smarty 
     28chmod -R a+w $WRK_DIR/data/class 
     29chmod -R a+w $WRK_DIR/data/logs 
     30chmod -R a+w $WRK_DIR/data/upload 
    3131 
    3232echo "finished." 
Note: See TracChangeset for help on using the changeset viewer.