selinux-refpolicy/strict/file_contexts/program/backup.fc

7 lines
320 B
Plaintext

# backup
# label programs that do backups to other files on disk (IE a cron job that
# calls tar) in backup_exec_t and label the directory for storing them as
# backup_store_t, Debian uses /var/backups
#/usr/local/bin/backup-script -- system_u:object_r:backup_exec_t
/var/backups(/.*)? system_u:object_r:backup_store_t