<div dir="ltr"><div>Hello,<br></div><div><br></div><div>I am trying to use ACLs but it seems that it doesn&#39;t recognize user names but user IDs. </div><div>I.e. I have 2 machines with next users: user1, user2.</div><div>On the first machine I have created users like this:</div><div>useradd user1</div><div>useradd user2</div><div><br></div><div>On the second machine I have created users like this:</div><div>useradd user2</div><div>useradd user1</div><div><br></div><div>Now I see id&#39;s of the users. Here is what I see:</div><div><br></div><div>Machine 1:</div><div># id test1</div><div>uid=1002(test1) gid=1003(test1) groups=1003(test1)</div><div># id test2</div><div>uid=1003(test2) gid=1004(test2) groups=1004(test2)</div><div><br></div><div>Machine 2:</div><div># id test1</div><div>uid=1003(test1) gid=1004(test1) groups=1004(test1)</div><div># id test2</div><div>uid=1002(test2) gid=1003(test2) groups=1003(test2)</div><div><br></div><div>So, on the machine1 test1 user has 1002 ID and on the machine2 test1 user has 1003</div><div><br></div><div>Now If on the machine1 I set a permission a on file like this:</div><div>setfacl -R -m u:test1:rwx /repositories/test</div><div><br></div><div>On the machine2 test1 user won&#39;t have any access to the file but the user test2 will! How to set permissions based on the user/group ID?</div><div><br></div><div>Here is how I mount a gluster volume:</div><div>mount -t glusterfs -o acl 192.168.0.120:/gv0 /repositories/</div><div><br></div><div>Sincerely,</div><div>Alexandr</div></div>