portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Cannot wildcard match directories / not working

Open Rubber-Duckie opened this issue 1 year ago • 3 comments

What happened:

Various applications can spawn executables that need internet access. These executables can be created in sub directories which are generated with a random name.

Take for example visual studio, rather notorious for this, where it uses the temporary directory in which it will create subdirectories with random names, a new name every time it runs.

i.e. C:\Users\User1\AppData\Local\Temp\uogzuxa0.jm3\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service

This happens every few hours thus the Portmaster creates a new profile for each unique path it sees, forever. This effectively destroys the ability for the application to be of any use.

image

Despite having edited the profile for the executable, and having inserted a wildcard into the path within the edit profile option, it does not function as expected.

see the screen shot below. image

What did you expect to happen?:

Edit the profile, insert a asterisk for 'match any string' within the file path. From then on, the file path matching logic will use that single profile for the matching instances detected.

i.e. C:\Users\User1\AppData\Local\Temp\*\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service

Rubber-Duckie avatar May 27 '24 20:05 Rubber-Duckie

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you:

  • 🗣️ Our community on Discord is super helpful and active. We also have an AI-enabled support bot that knows Portmaster well and can give you immediate help.
  • 📖 The Wiki answers all common questions and has many important details. If you can't find an answer there, let us know, so we can add anything that's missing.

github-actions[bot] avatar May 27 '24 20:05 github-actions[bot]

This issue has been automatically marked as inactive because it has not had activity in the past two months.

If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.

github-actions[bot] avatar Jul 30 '24 05:07 github-actions[bot]

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

If the issue has not been resolved, you can find more information in our Wiki or continue the conversation on our Discord.

github-actions[bot] avatar Aug 07 '24 05:08 github-actions[bot]