]> rtime.felk.cvut.cz Git - linux-imx.git/commit
tools/hv: Fix permissions of created directory and files
authorBen Hutchings <ben@decadent.org.uk>
Tue, 27 Nov 2012 07:56:34 +0000 (08:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 18:41:46 +0000 (10:41 -0800)
commit0bffd25ce919f88ea6473150b66d26e7fa5712af
tree6fa5b34434ead6778927d472cf8ff798b3273962
parent40424f5fff65c7ae8763ca69ff3a9b8ddd8e2760
tools/hv: Fix permissions of created directory and files

It's silly to create directories without execute permission, or to
give permissions to 'other' but not the group-owner.

Write the permissions in octal and 'ls -l' format since these are much
easier to read than the named macros.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c