Fix bug: File read permission check is missed 75/73375/1
authorKyungwook Tak <k.tak@samsung.com>
Wed, 8 Jun 2016 02:17:51 +0000 (11:17 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Wed, 8 Jun 2016 02:17:51 +0000 (11:17 +0900)
commit79f626c313f693f9866a9a29931f4111cf0666f4
treef759a05977c176289a274655682c1c83e95bd372
parentcf4e28b8aeb3607257bbb15c5e188dfe562319c8
Fix bug: File read permission check is missed

when get stat of file, file read permission should be checked
additionally. ::stat() function doesn't require permission on the file
itself but require all permissions of the directories in path that lead
to the file.

Change-Id: Ia91c188fe20a90784ebad8109930ff3726f5ca72
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/framework/service/file-system.cpp
src/framework/service/fs-utils.cpp