HF RL Explorer

Task: Fix SELinux File Context Rule for Recursive PHP File Matching

Task: Fix SELinux File Context Rule for Recursive PHP File Matching: a task in Terminal-Lego-15k (Harbor dataset). When using semanage to set SELinux file contexts for specific file types recursively, the regular expression pattern must be carefully constructed. A common mistake is using a pattern…

The task

When using `semanage` to set SELinux file contexts for specific file types recursively, the regular expression pattern must be carefully constructed. A common mistake is using a pattern that doesn't match files in subdirectories or doesn't properly anchor the regex.

Part of PrimeIntellect/Terminal-Lego-15k.