[LU-9759] setfacl default setting fail when nodemap enabled Created: 11/Jul/17  Updated: 11/Sep/17  Resolved: 11/Sep/17

Status: Closed
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: Duplicate Votes: 0
Labels: None
Environment:

Lustre 2.9


Issue Links:
Duplicate
is duplicated by LU-9929 Use "setfacl" to set "default" setti... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Hi ,

When I setfacl default in lustre directory, I got unmapping group id(getfacl) after first setting(setfacl) . Then I execute setfacl command again and got fail ( Operation not permitted).

1.cat /etc/passwd
user1:x:1001:1001::/home/user1:/bin/bash

2.nodemap setting
nodemap.21b7e9f04fed448e.idmap=
[
.....

{ idtype: gid, client_id: 1001, fs_id: 23501 }

,
.....
]

3.setfacl steps
[root@hsm client]# mkdir hadoop3
[root@hsm client]# getfacl /mnt/client/hadoop3
getfacl: Removing leading '/' from absolute path names

  1. file: mnt/client/hadoop3
  2. owner: root
  3. group: root
    user::rwx
    group::r-x
    other::r-x

[root@hsm client]# setfacl -R -d -m group:user1:rwx /mnt/client/hadoop3
[root@hsm client]# getfacl /mnt/client/hadoop3
getfacl: Removing leading '/' from absolute path names

  1. file: mnt/client/hadoop3
  2. owner: root
  3. group: root
    user::rwx
    group::r-x
    other::r-x
    default:user::rwx
    default:group::r-x
    default:group:23501:rwx
    default:mask::rwx
    default:other::r-x

[root@hsm client]# setfacl -R -d -m group:user1:rwx /mnt/client/hadoop3
setfacl: /mnt/client/hadoop3: Operation not permitted



 Comments   
Comment by Peter Jones [ 11/Jul/17 ]

Emoly

Can you please advise?

Thanks

Peter

Comment by sebg-crd-pm (Inactive) [ 24/Jul/17 ]

Hi Emoly,
Do you have any update for this issue?
Thanks!

Comment by Emoly Liu [ 11/Sep/17 ]

dup of LU-9929

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