Ignore:
Timestamp:
05/22/07 15:06:03 (5 years ago)
Author:
bruno
Message:

Fix rights for all binaries and libs in the chroot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/sshgw/bin/createrootskel

    r13 r14  
    114114        cp -a $i $d/$dir 
    115115    done 
     116    # Rights for libs 
     117    for i in $libs; do 
     118        chmod 644 $d/$i 
     119    done 
    116120 
    117121    # X11R6/lib is not in the default search path for libs => moved to usr/lib 
     
    122126    # Adjust modes and rights 
    123127    find $d -type d | xargs chmod 755 
     128    for i in $bins; do 
     129        chmod 755 $d/$i 
     130    done 
    124131    chown -R chroot:chroot $d 
    125132    chmod 4777 $d/tmp 
Note: See TracChangeset for help on using the changeset viewer.