Original Reddit post

Been working through trying to tweak my settings to allow for a fairly permissive environment within a given project folder yet I still seem to randomly get asked to approve something I swear I gave it permission to do in my settings. Is the answer to just dangerously skip permissions? If you dangerously skip will it ignore your deny list? If you are just using dangerously skip permission are you isolating your environment in a docker or something? I have never messed with docker or anything not sure how much of a lift it is to set up. Just a lonely Phd student doing computational biology surrounded by experimental biologists. Here is an example of my project settings: “permissions”: { “allow”: [ “Read()", "Edit()”, “Write(*)”, “Bash(ls *)”, “Bash(echo *)”, “Bash(find *)”, “Bash(grep *)”, “Bash(cat *)”, “Bash(head *)”, “Bash(tail *)”, “Bash(wc *)”, “Bash(file *)”, “Bash(sort *)”, “Bash(uniq *)”, “Bash(cut *)”, “Bash(jq *)”, “Bash(tree *)”, “Bash(du *)”, “Bash(bash *)”, “Bash(awk *)”, “Bash(Rscript )", “Bash(quarto render )", “Bash(sed )", “Bash(mkdir )", ], “deny”: [ “Bash(git rm )", "Bash(git reset --hard)”, "Bash(git clean)”, "Bash(git push --force)”, "Bash(git push -f)”, “Bash(git push -f )", "Bash(git rebase)”, "Bash(git restore)”, “Bash(git checkout – )", "Bash(git branch -D)”, “Bash(curl *)”, “Bash(wget *)” ] } submitted by /u/Mr_Bilbo_Swaggins

Originally posted by u/Mr_Bilbo_Swaggins on r/ClaudeCode