[Bugs] [Bug 1787086] All ACLs permission denied

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 8 06:47:29 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1787086



--- Comment #7 from Jiffin <jthottan at redhat.com> ---
[2019-12-30 21:46:41.231121] I [MSGID: 139001]
[posix-acl.c:262:posix_acl_log_permit_denied] 0-test-access-control: client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
gfid: 3b2b30ad-39d8-4078-9f14-c5fae262d89c,
req(uid:1000,gid:1000,perm:4,ngrps:10),
ctx(uid:0,gid:0,in-groups:0,perm:775,updated-fop:READDIRP,
acl:(tag:1,perm:7,id:458754)(tag:4,perm:5,id:1000)(tag:65535,perm:65535,id:4294967295)(tag:16,perm:7,id:4294967295)(tag:32,perm:5,id:4294967295)
[Permission denied]
[2019-12-30 21:46:41.231220] E [MSGID: 115056]
[server-rpc-fops_v2.c:686:server4_opendir_cbk] 0-test-server: 135: OPENDIR
/test (3b2b30ad-39d8-4078-9f14-c5fae262d89c), client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
error-xlator: test-access-control [Permission denied]
[2019-12-30 21:46:42.728556] I [MSGID: 139001]
[posix-acl.c:262:posix_acl_log_permit_denied] 0-test-access-control: client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
gfid: 3b2b30ad-39d8-4078-9f14-c5fae262d89c,
req(uid:1000,gid:1000,perm:4,ngrps:10),
ctx(uid:0,gid:0,in-groups:0,perm:775,updated-fop:LOOKUP,
acl:(tag:1,perm:7,id:458754)(tag:4,perm:5,id:1000)(tag:65535,perm:65535,id:4294967295)(tag:16,perm:7,id:4294967295)(tag:32,perm:5,id:4294967295)
[Permission denied]
[2019-12-30 21:46:42.728643] E [MSGID: 115056]
[server-rpc-fops_v2.c:686:server4_opendir_cbk] 0-test-server: 139: OPENDIR
/test (3b2b30ad-39d8-4078-9f14-c5fae262d89c), client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
error-xlator: test-access-control [Permission denied]
[2019-12-30 21:49:05.249906] I [MSGID: 139001]
[posix-acl.c:262:posix_acl_log_permit_denied] 0-test-access-control: client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
gfid: e41a0667-9fbc-4817-bfee-2461fe47a91f,
req(uid:1000,gid:1000,perm:1,ngrps:10),
ctx(uid:124,gid:129,in-groups:0,perm:775,updated-fop:READDIRP,
acl:(tag:1,perm:7,id:458754)(tag:4,perm:5,id:1000)(tag:65535,perm:65535,id:4294967295)(tag:16,perm:7,id:4294967295)(tag:32,perm:5,id:4294967295)
[Permission denied]
[2019-12-30 21:49:05.250030] E [MSGID: 115050]
[server-rpc-fops_v2.c:157:server4_lookup_cbk] 0-test-server: 277: LOOKUP
/test/test (e41a0667-9fbc-4817-bfee-2461fe47a91f/test), client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
error-xlator: test-access-control [Permission denied]
[2019-12-30 21:49:05.251190] E [MSGID: 115050]
[server-rpc-fops_v2.c:157:server4_lookup_cbk] 0-test-server: 278: LOOKUP
/test/test (e41a0667-9fbc-4817-bfee-2461fe47a91f/test), client:
CTX_ID:f0028cce-382c-487b-85d9-2a1b3452661b-GRAPH_ID:0-PID:6198-HOST:cube-PC_NAME:test-client-0-RECON_NO:-0,
error-xlator: test-access-control [Permission denied]


Here the first opendir on parent directory "test" got failed, user was
1000(jmilette I guess), from the logs the on the gluster's brick context
(uid:0,gid:0,in-groups:0,perm:775), permission is 0775 but at backend it seems
to 777. Hence rejection happened. Am I not sure whether umask is getting to
picture here or not. And follow lookup operation is also failed /test/test
mostly because of the first failure. Not sure why absolute path is send from
fuse even lookup was performed using relative path. My suspicion is because of
getfacl worked without any error from fuse mount on the same file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list