Deny is evaluated first, then ask, then allow, and a more specific allow rule does not beat a broader deny rule. That one fact is why a permission rule you wrote does nothing.
A .claudeignore file has no effect at all, and its entries belong in Read deny rules instead. None of these five throw an error, which is exactly what makes them expensive.