[LU-9674] chown fail if nodemap enabled Created: 16/Jun/17  Updated: 19/Sep/17  Resolved: 19/Sep/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question/Request Priority: Minor
Reporter: sebg-crd-pm (Inactive) Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Lustre2.9


Rank (Obsolete): 9223372036854775807

 Description   

I can not change files owner if nodemap enabled. Is it correct?
>> chown: changing ownership of ‘111’: Operation not permitted



 Comments   
Comment by Andreas Dilger [ 16/Jun/17 ]

This should work if both the source and destination UID are in the nodemap, and root operations are allowed on the nodemap.

Comment by Peter Jones [ 16/Jun/17 ]

Assigning to Emoly for any follow on quesitons

Comment by sebg-crd-pm (Inactive) [ 19/Jun/17 ]

I have set admin_nodemap=1, trusted_nodemap=0 then it works fine.
Just one nodemap can not chown if set admin_nodemap=1, trusted_nodemap=1.
I will test it again then report more detail information of environment.

Comment by Emoly Liu [ 12/Sep/17 ]

sebg-crd-pm, do you still have question about this ticket?

Comment by sebg-crd-pm (Inactive) [ 19/Sep/17 ]

There is no question now. Thanks. (set admin_nodemap=1, chown by root)

Comment by Peter Jones [ 19/Sep/17 ]

ok thanks

Generated at Sat Feb 10 02:28:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.