aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path
diff options
context:
space:
mode:
authorBryan Quigley <bryan.quigley@canonical.com>2018-06-14 17:08:18 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-06-18 17:15:36 +0100
commit575e8120525ad2c63baf48581f7a797f9a2e263c (patch)
tree78efeecc32a1cde638db640af827f1431dbbd7c6 /tests/path
parent815a0eaabb70668648cf7e4ec911f325d95eef0b (diff)
downloadsos-575e8120525ad2c63baf48581f7a797f9a2e263c.tar.gz
[plugins] Check read access before trying to list a dir
I found a permission error when trying to copy /sys/fs/pstore when running on LXD containers. Adding a permission check first allows it to skip folders it can't list. Resolves: #1348 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/path')
0 files changed, 0 insertions, 0 deletions