Whamcloud - gitweb
LU-11188 lfs: add "--perm" option to "lfs find" 15/43715/4
authorCourrier Guillaume <guillaume.courrier@cea.fr>
Thu, 29 Apr 2021 09:35:01 +0000 (11:35 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Jun 2021 17:49:11 +0000 (17:49 +0000)
commit06588e4a22b0ff037eafa1eee5e22521b1626904
treed9d50cd773fc0fc9f0d45e64b5ff2da5036498a3
parentb57c88fe4b70392ca915c18e51d50ce90256ba69
LU-11188 lfs: add "--perm" option to "lfs find"

Add support for "--perm" option to "lfs find".
The option supports both octal and symbolic representation and
follows the POSIX standard.
As for GNU find, it supports '-' and '/' modifiers before the
permission.

Signed-off-by: Guillaume Courrier <guillaume.courrier@cea.fr>
Change-Id: I8e1292421986c3a4bde686f3c7dc7bfcb679cabc
Reviewed-on: https://review.whamcloud.com/43715
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
lustre/doc/lfs-find.1
lustre/include/lustre/lustreapi.h
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c