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

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

            [LU-15952] man page of lfs project is a bit misleading when clearing prjid on top directory
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47641/
            Subject: LU-15952 doc: improvement on lfs-project doc
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4a2498d22f46bfc52170baec6db4ce67671ac103

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47641/ Subject: LU-15952 doc: improvement on lfs-project doc Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4a2498d22f46bfc52170baec6db4ce67671ac103

            "Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47641
            Subject: LU-15952 doc: improvement on lfs-project doc
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 1d5496f35dc432ae9cb96fdf005c8d5f1d841f84

            gerrit Gerrit Updater added a comment - "Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47641 Subject: LU-15952 doc: improvement on lfs-project doc Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 1d5496f35dc432ae9cb96fdf005c8d5f1d841f84

            People

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

              Dates

                Created:
                Updated:
                Resolved: