]> code.ossystems Code Review - openembedded-core.git/commit
makedevs: Create blocks of devices with the correct uid/gid
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 29 May 2013 11:47:17 +0000 (11:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2013 19:56:17 +0000 (20:56 +0100)
commite7796880164d6a37c2699a94e1c5391337c5eaa5
tree2c10fd261ee3357f343a1edf12ea7509c7a254a2
parent67dd4e31272918e08b65b5c8d5d6b00e814dbf7f
makedevs: Create blocks of devices with the correct uid/gid

When creating a block of devices (i.e., when count > 0), the wrong
path was used with the call to chown(), effectively trying to change
the owner of some (probably) non-existent file. Thus the created
device nodes were always owned by root.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c