[lustre-discuss] lfs find to locate files with specific permissions

Ms. Megan Larko dobsonunit at gmail.com
Fri Jul 27 11:05:00 PDT 2018

Great question!

I am using the find on those file systems, both non-Lustre and Lustre for
which there is not (yet) any Robinhood monitoring.

For those Lustre File Systems with Robinhood monitoring, yes, I can quickly
check with a simple mysql query ( SELECT name FROM NAMES LEFT JOIN ENTRIES
ON ENTRIES.id = NAMES.id WHERE ENTRIES.mode="493"   for my Robinhood data
base ).  For those systems without Robinhood, linux "find </dir/path> -type
d -perm 777".

I would like to use the "lfs find" for Lustre file systems not (yet) being
monitored by Robinhood.


On Fri, Jul 27, 2018 at 1:51 PM, Shawn Hall <shawn.hall at nag.com> wrote:

> Hi Megan,
> Considering your recent LUG presentation on Robinhood, does this
> particular Lustre file system happen to have Robinhood watching over it?
> I’m not sure if the rbh command line tools themselves can get at that info,
> but I’ve done SQL queries in the past to get at that information.  There’s
> some octal -> decimal translation involved, but all the information you’re
> talking about is in the Robinhood database.
> Shawn
> *From: *lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on
> behalf of "Ms. Megan Larko" <dobsonunit at gmail.com>
> *Date: *Friday, July 27, 2018 at 1:16 PM
> *To: *Lustre User Discussion Mailing List <lustre-discuss at lists.lustre.org
> >
> *Subject: *[lustre-discuss] lfs find to locate files with specific
> permissions
> Greetings List!
> Recently I have been looking for dirs with world write access.  I can do
> this on most file systems, including Lustre, with linux/POSIX "find
> /my/src/dir -type d -perm 777", for example.  I was going to invoke an "lfs
> find" on those file systems of type Lustre but I do not see a "-perm"
> option to the "lfs find".   Am I missing anything here?   Have I only the
> linux "find" for searching for permissions settings?
> FYI, the Lustre file systems are 2.7.3, 2.9.0 and 2.10.4 servers with
> clients 2.7.3 and newer.
> Cheers,
> megan
> *Disclaimer*
> Please see our Privacy Notice
> <https://www.nag.co.uk/content/privacy-notice> for information on how we
> process personal data.
> This e-mail has been scanned for all viruses and malware, and may have
> been automatically archived by Mimecast Ltd, an innovator in Software as a
> Service (SaaS) for business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180727/e29661aa/attachment.html>

More information about the lustre-discuss mailing list