]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu: chmod 0o777 for lockdir
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 12 Apr 2017 02:04:31 +0000 (02:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jul 2017 08:21:48 +0000 (09:21 +0100)
commit4a5d21dbdc88982c2c90e660811b84983eaebeb7
treeb7603898ec150698526c49d0273e9d32df875db1
parent8c6f253dfb4899324e91dd5d082190909e2bd25d
runqemu: chmod 0o777 for lockdir

Multi-users may run qemu on the same host, all of them should be able to
create or remove lock in lockdir, so set lockdir's mode to 0o777.

Note, os.mkdir()'s mode is default to 0o777, but the current umask value is
first masked out, so use os.chmod() to set it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/runqemu