Nick, Gene and others as well
I have just encountered similar issue. User has access to a DB; one of the groups has SELECT access on a table. However, when trying to select from it user gets
SQL0551N "Uxx3x40" does not have the privilege to perform operation "SELECT"
on object "FxxxxxxxT.GxxxxxxxxxxxxxxHT". SQLSTATE=42501
Have verified and UNIX group that this user belongs to DOES have access on this table. Here is the info on the user and db
Group that has access on the table above is the second group "bxxxxrg"
User has no problem accessing tables that are granted to the Primary group. When we flip flop group order. User still only able tables which have grants only to primary group.
lsuser uxx3x40
uxx3x40 id=29669 pgrp=pxxxxsr groups=pxxxxsr,bxxxxrg home=
db2 get dbm cfg | grep -i sys
Federated Database System Support (FEDERATED) = YES
SYSADM group name (SYSADM_GROUP) = aaaaa
SYSCTRL group name (SYSCTRL_GROUP) = bbbb
SYSMAINT group name (SYSMAINT_GROUP) = ccccc
SYSMON group name (SYSMON_GROUP) = ddddd
Priority of agents (AGENTPRI) = SYSTEM
db2 get authorizations
Administrative Authorizations for Current User
Direct SYSADM authority = NO
Direct SYSCTRL authority = NO
Direct SYSMAINT authority = NO
Direct DBADM authority = NO
Direct CREATETAB authority = NO
Direct BINDADD authority = NO
Direct CONNECT authority = NO
Direct CREATE_NOT_FENC authority = NO
Direct IMPLICIT_SCHEMA authority = NO
Direct LOAD authority = NO
Direct QUIESCE_CONNECT authority = NO
Direct CREATE_EXTERNAL_ROUTINE authority = NO
Direct SYSMON authority = NO
Indirect SYSADM authority = NO
Indirect SYSCTRL authority = NO
Indirect SYSMAINT authority = NO
Indirect DBADM authority = NO
Indirect CREATETAB authority = NO
Indirect BINDADD authority = NO
Indirect CONNECT authority = YES
Indirect CREATE_NOT_FENC authority = NO
Indirect IMPLICIT_SCHEMA authority = NO
Indirect LOAD authority = NO
Indirect QUIESCE_CONNECT authority = NO
Indirect CREATE_EXTERNAL_ROUTINE authority = NO
Indirect SYSMON authority = NO
Database alias = FxxxxxP
Database name = FxxxxxP
Local database directory = /dbxxx/xxxxxx84
Database release level = b.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
Thank you for your help.
DB21085I Instance "uszpsb84" uses "64" bits and DB2 code release "SQL09012"
with level identifier "01030107".
Informational tokens are "DB2 v9.1.0.2", "s070210", "U810940", and Fix Pack
"2".
Product is installed at "/opt/IBM/db2/V9.1".