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

'lfs project' should not allow converting octal to decimal

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: