Bitdefender blocking my own python scripts and Jupiter notebook write files

# Problem:

Bitdefender blocks python from Mac Terminal or Jupyter notebook from writing files to protected folders even you allowed it.

I used to be able to do this but lately, I cannot.

# Steps:

1. I created an "unprotected" folder named "Test". In an unprotected folder, there is no problem. See screenshot

  a. I run a Python script from the terminal to write a file. No problem     

  b. I run python from a Jupyter notebook to write a file. No problem.     

  c. I run the same script I used in the Jupyter from Python directly. No problem.

     

2. However, when I do the same thing in a "protected" folder, but I get permission errors. Even when they have permissions under Bitdefender. 

  a. Terminal and Python are configured to be "Allowed"    

  b. I run a Python script from the terminal to write a file. Operation Not Permitted Error

  c. I run python from a Jupyter notebook to write a file. I cannot even create the notebook.

  d. I run the same script I used in the Jupyter from Python directly. No problem.

     

# Notes:

- Terminal are granted full disk access from MacOS Security

# Conclusion

- This is obviously a Bitdefender bug because it does not occur in an unprotected folder.

Please help!

For screenshots see notion share https://gio.notion.site/Python-Bitdefender-Problem-4ff5eb29fd1443ed833ff9d4999b8c2d

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.