Wind River Support Network

HomeDefectsSCP8-92
Not to be fixed

SCP8-92 : acl-ptest: 4/101 failed

Created: Apr 28, 2016    Updated: Mar 6, 2019
Resolved Date: Feb 19, 2019
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Several ptest test ACL cases fail

PASS: $ su bin                 
PASS: $ echo bin >> f        
PASS: $ su daemon        
FAIL: $ cat f                    
cat: f: Permission denied             != root        
~                                     != bin        

PASS: $ echo daemon3 >> f          
PASS: $ su bin                        
PASS: $ setfacl -x g:daemon f        
PASS: $ su daemon        
FAIL: $ echo daemon4 >> f        
~                                     !~ .*f: Permission denied$        

PASS: $ su                  
PASS: $ chgrp root f        
PASS: $ su daemon                
PASS: $ echo daemon5 >> f        
FAIL: $ cat f        
root                                  == root        
bin                                   == bin             
daemon                                == daemon         
daemon2                               == daemon2         
daemon4                               != daemon5        
daemon5                               != ~        

PASS: $ setfacl -m g:bin:r,g:daemon:w f        
PASS: $ su daemon        
FAIL: $ : < f        
/bin/sh: f: Permission denied         != ~        

Steps to Reproduce

configure --enable-board=intel-x86-64 --enable-kernel=secure --enable-rootfs=secure-core --with-layer=/lpg-build/cdc/WASSP_LINUX_80/testcases/wrlinux/wr-testing/userspace --with-template=feature/libhugetlbfs,feature/acl,feature/nfsd,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng --enable-test=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0
 make fs
boot the board
cd /usr/lib64/acl/ptest/
./run-ptest
Live chat
Online