LU-7483 test: Modifying filtering in acl for SElinux feature With SElinux feature enabled on Client, sanity.sh test_103a failed with 'Host key verification failure'. "ls -l" command was producing '.' at the end to indicate extra security attributes when SElinux is is enabled. Hence, modifying filtering by not allowing '.' in the output. Files modified are as follows: cp.test, misc.test, permission.test, setfacl.test, 974.test, 4924.test . Signed-off-by: Saurabh Tandan <saurabh.tandan@intel.com> Change-Id: I725c1aa095f1a9feac521675cf29faa0a750598e Reviewed-on: http://review.whamcloud.com/17529 Tested-by: Jenkins Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Jian Yu <jian.yu@intel.com> Reviewed-by: James Nunez <james.a.nunez@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-2561 mdd: create decares attr set with parent attr mdd_declare_create() mistakenly declares attr set for child with parent attr, as will cause truncate operation. Signed-off-by: Lai Siyao <lai.siyao@intel.com> Change-Id: I79dbbb2b52e1d41aaa70c36ce6c197ab2cd684d8 Reviewed-on: http://review.whamcloud.com/4956 Reviewed-by: Prakash Surya <surya1@llnl.gov> Tested-by: Hudson Reviewed-by: Bobi Jam <bobijam@gmail.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-974 security: ignore umask if acl enabled * add OBD_CONNECT_UMASK to show whether MDS supports umask. * client packs umask in create/open request, MDS will use it in object creation. * client ignores umask if acl is enabled. * client enforces umask if MDS doesn't support OBD_CONNECT_UMASK. * don't update inode->i_mode after creation because la_mode may not be correct which doesn't consider umask. * add an acl test for this. Signed-off-by: Lai Siyao <laisiyao@whamcloud.com> Change-Id: Ibbb45dd79378d116eb428b76070a417fe08a8142 Reviewed-on: http://review.whamcloud.com/1972 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Fan Yong <yong.fan@whamcloud.com> Reviewed-by: Bobi Jam <bobijam@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>