我有两个 rpm xinstrument.rpm 和 xlog.rpm。首先应安装 xinstrument.rpm,然后安装 xlog.rpm。
这两个 rpm 都创建数据并将其复制到 /opt/xinstrument-control/ 目录中。
但问题是当我们安装第二个 rpm xlog.rpm 时,我们会遇到冲突错误
Preparing... ################################# [100%]
file /opt/xinstrument-control from install of xlog_x86_64 conflicts with file from package xinstrument.x86_64
.
.
.
.
安装后的 xinstrument.rpm 为 xinstrument-control 目录提供以下权限
# ls -l /opt/
total 0
drwxr-xr-x 1 root users 38 May 24 14:34 xinstrument-control
而安装时的 xlog.rpm 为 xinstrument-control 目录提供以下权限
# ls -l /opt/
total 16
drwxr-xr-x 6 root sys 4096 May 16 05:43 xinstrument-control
查看目录的权限和所有权是否存在导致冲突的问题?还有什么可能是冲突的原因以及如何解决它?