Re: [OE-core] [PATCH] package.bbclass: Remove redundant chmod/chown operations

2013-05-03 Thread Phil Blundell
On Thu, 2013-05-02 at 08:41 -0500, Mark Hatle wrote: > On 5/2/13 8:20 AM, Phil Blundell wrote: > > These were introduced in 6021e309e69d823e1467648aee12a32182945569. The > > code currently reads: > > > > os.link(file, fpath) > > fstat = cpath.stat(file) > >

Re: [OE-core] [PATCH] package.bbclass: Remove redundant chmod/chown operations

2013-05-02 Thread Mark Hatle
On 5/2/13 8:20 AM, Phil Blundell wrote: These were introduced in 6021e309e69d823e1467648aee12a32182945569. The code currently reads: os.link(file, fpath) fstat = cpath.stat(file) os.chmod(fpath, fstat.st_mode) os.chown(fpath, f

[OE-core] [PATCH] package.bbclass: Remove redundant chmod/chown operations

2013-05-02 Thread Phil Blundell
These were introduced in 6021e309e69d823e1467648aee12a32182945569. The code currently reads: os.link(file, fpath) fstat = cpath.stat(file) os.chmod(fpath, fstat.st_mode) os.chown(fpath, fstat.st_uid, fstat.st_gid) which can have no