#7537 HIGH 8.2.0 (: olpc-configure marks all of /home/olpc as read/exec

Zarro Boogs per Child bugtracker at laptop.org
Wed Jul 16 18:32:02 EDT 2008


#7537: olpc-configure marks all of /home/olpc as read/exec
--------------------------+-------------------------------------------------
 Reporter:  pgf           |         Owner:                      
     Type:  defect        |        Status:  new                 
 Priority:  high          |     Milestone:  8.2.0 (was Update.2)
Component:  not assigned  |       Version:  not specified       
 Keywords:                |   Next_action:  never set           
 Verified:  0             |     Blockedby:                      
 Blocking:                |  
--------------------------+-------------------------------------------------
 in certain upgrades, (almost) all files under /home/olpc will be given
 permissions 0755.

 i believe this is the result of an over-reaching find expression, which
 mistakenly matches files in addition to directories:

 {{{
    find $OLPC_HOME -type d -perm 770 -name isolation -prune -o -print0  |
 xargs -0 chmod 755
 }}}

 this should probably be:
 {{{
 find $OLPC_HOME -type d -perm 770 -name isolation -prune -o -type d
 -print0  |  xargs -0 chmod 755
 }}}

 this issue will at least affect laptops being upgraded from 656 and
 earlier.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7537>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list