commit | 98cf8a59da884373d800bfcdce0dd7def47d4088 | [log] [tgz] |
---|---|---|
author | Peng Haitao <penght@cn.fujitsu.com> | Wed Nov 21 17:30:17 2012 +0800 |
committer | Wanlong Gao <gaowanlong@cn.fujitsu.com> | Thu Nov 22 09:41:33 2012 +0800 |
tree | 7354aeb3fa1d5552b884285cec5dc37cadb550ac | |
parent | 04cfe1bb3043e373f65e35a35705319cbeba163c [diff] |
ar01: fix a bug of attribute "selinux" in rhel6 This patch removes the dot from the end of the permission string if there was one. When SELinux is enabled, "ls -ln" will list permissions with "-rw-r--r--.", but "ar -tv" will list permissions with "-rw-r--r--",so the case 22 will fail. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>