Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15952

man page of lfs project is a bit misleading when clearing prjid on top directory

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      The man page of lfs project -C states,

      SYNOPSIS
         ...
             lfs project -C [-r|-k] <file|directory...>
      
            Clear the project inherit flag and ID on the file(s) or directories
             -C     Clear inherit attribute, project ID will be reset to be 0 in default
             -k     keep the project ID unchanged.
      

      Actually there are 3 options to specify the recursion behavior:

       

      -d  process only the top directory
      -r  process the top directory and all its desendants recursively
        if neither -d nor -r is specified, process the top directory and its immediate children
      

      Need to make the man page clear to users.

      Attachments

        Issue Links

          Activity

            People

              flei Feng Lei
              flei Feng Lei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: