文件操作 - pcpupstream-container.te
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/pcp/selinux/pcpupstream-container.te
编辑文件内容
module pcpupstream-container 1.0; require { type container_runtime_t; type container_runtime_tmpfs_t; type container_var_run_t; type pcp_pmcd_t; class file { getattr read open }; class unix_stream_socket connectto; class dir getattr; } allow pcp_pmcd_t container_runtime_t:unix_stream_socket connectto; allow pcp_pmcd_t container_runtime_tmpfs_t:dir getattr; allow pcp_pmcd_t container_var_run_t:file { getattr read open };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件