OSDN Git Service

3-tslib: fix incorrect chown honeycomb-x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 9 Jan 2012 05:55:51 +0000 (13:55 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 9 Jan 2012 05:55:51 +0000 (13:55 +0800)
The incorrect chown results in several issues like wifi cannot be turned on.

initrd/scripts/3-tslib

index 8c4b0d5..2fa054f 100644 (file)
@@ -19,8 +19,8 @@ setup_tslib()
                                ln -s /dev/event* /dev/input
                                ts_calibrate > /tmp/cal.log
                        fi
-                       chmod 666 $TSLIBPATH/pointercal
-                       chown -R 1000.1000 data
+                       chmod 664 $TSLIBPATH/pointercal
+                       chown 1000.1000 data data/system $TSLIBPATH
                fi
        fi
 }