[LU-13387] 'lfs project' should not allow converting octal to decimal Created: 25/Mar/20  Updated: 25/Mar/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Shuichi Ihara Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None
Environment:

master


Severity: 3
Rank (Obsolete): 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.


Generated at Sat Feb 10 03:00:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.