Comment 4 for bug 290798

Revision history for this message
Colin Watson (cjwatson) wrote :

=== modified file 'scripts/install.py'
--- scripts/install.py 2008-10-29 15:23:56 +0000
+++ scripts/install.py 2008-10-29 17:59:00 +0000
@@ -757,6 +757,10 @@
             if os.path.exists(target_kernel):
                 os.unlink(target_kernel)
             self.copy_file(kernel, target_kernel, md5_check)
+ os.lchown(target_kernel, 0, 0)
+ os.chmod(target_kernel, 0644)
+ st = os.lstat(kernel)
+ os.utime(target_kernel, (st.st_atime, st.st_mtime))

         os.umask(old_umask)