Open hu-weihua opened 5 years ago
ls -l /home/xyzzy/ -la
total 20
drwx------ 3 xyzzy xyzzy 122 Apr 23 08:36 .
drwxr-xr-x 1 root root 19 Apr 23 08:19 ..
-rw------- 1 xyzzy xyzzy 157 Apr 23 08:36 .bash_history
-rw-r--r-- 1 xyzzy xyzzy 18 Apr 11 2018 .bash_logout
-rw-r--r-- 1 xyzzy xyzzy 193 Apr 11 2018 .bash_profile
-rw-r--r-- 1 xyzzy xyzzy 231 Apr 11 2018 .bashrc
-rw-r--r-- 1 xyzzy xyzzy 172 Oct 30 17:20 .kshrc
drwx------ 2 xyzzy root 109 Apr 23 06:53 .ssh
lrwxrwxrwx 1 xyzzy root 15 Apr 23 06:52 .xcat -> /xcatdata/.xcat
[xyzzy@c910f04x37v02 ~]$ ls -l /home/xyzzy/.xcat/ -la
total 32
drwxr-xr-x 2 root root 110 Apr 23 06:52 .
drwxr-xr-x 6 root root 61 Apr 23 06:52 ..
-rw-r--r-- 1 root root 4214 Apr 19 08:02 ca.pem
-rw------- 1 root root 4504 Apr 19 08:02 client-cert.pem
-rw------- 1 root root 6179 Apr 19 08:02 client-cred.pem
-rw------- 1 root root 1675 Apr 19 08:02 client-key.pem
-rw------- 1 root root 883 Apr 19 08:02 client-req.pem
[xyzzy@c910f04x37v02 ~]$ cat ~/.xcat/client-cert.pem
cat: /home/xyzzy/.xcat/client-cert.pem: Permission denied
So the case use copy and cause the file permission is wrong.
Why not use /opt/xcat/share/xcat/scripts/setup-local-client.sh xyzzy
to do that?
@tingtli, could you help to follow the test case changing? If we do need to change the case, open a task in ibm internal git hub. thanks.
xdcp using non-root user will failed in xcat container. (flat environment)