[OE-core] [PATCH 1/1] package.bbclass: ensure correct modes on directories

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jul 18 13:31:49 UTC 2014


On Thu, 2014-07-17 at 10:08 +0800, Chen Qi wrote:
>                  fstat = cpath.stat(src)
>                  os.mkdir(dest, fstat.st_mode)
> +                os.chmod(dest, fstat.st_mode)

This doesn't make sense. Shouldn't the fstat.st_mode to os.mkdir have
taken care of the mode for us?

Cheers,

Richard





More information about the Openembedded-core mailing list