文件操作 - apache2-common
返回文件管理
返回主菜单
删除本文件
文件: /snap/core20/2769/etc/apparmor.d/abstractions/apache2-common
编辑文件内容
# vim:syntax=apparmor # This file contains basic permissions for Apache and every vHost #include <abstractions/nameservice> # Allow unconfined processes to send us signals by default signal (receive) peer=unconfined, # Allow apache to send us signals by default signal (receive) peer=apache2, # Allow other hats to signal by default signal peer=apache2//*, # Allow us to signal ourselves signal peer=@{profile_name}, # Apache network inet stream, network inet6 stream, # apache manual, error pages and icons /usr/share/apache2/** r, # changehat itself @{PROC}/@{pid}/attr/current rw, # htaccess files - for what ever it is worth /**/.htaccess r, /dev/urandom r, # sasl-auth /run/saslauthd/mux rw, # OCSP stapling /var/log/apache2/stapling-cache rw,
修改文件时间
将文件时间修改为当前时间的前一年
删除文件