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

'lfs project' should not allow converting octal to decimal

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Lustre 2.14.0
    • master
    • 3
    • 9223372036854775807

    Description

      if administrator set project id with 0xx, 'lfs project' converts from octal to decimal internally today.

      [root@ec01 ~]# lfs project -p 071 /lustre/p
      [root@ec01 ~]# lfs project -d /lustre/p
        57 - /lustre/p
      

      I understand this is same behavior with 'lfs setstripe' and that's also understandable for OST index, but an decimal number more makes sense for project id. People are familiar with decimal number for project id as well as uid or gid and it should be much less confused.

      Attachments

        Issue Links

          Activity

            People

              eaujames Etienne Aujames
              sihara Shuichi Ihara
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: