dapr / cli

Command-line tools for Dapr.
Apache License 2.0
315 stars 200 forks source link

Unix: Directories in `~/.dapr` given 777 permisions. #1317

Closed JoshVanL closed 6 months ago

JoshVanL commented 1 year ago

Expected Behavior

Directories in ~/.dapr are given 755 permissions.

drwxr-xr-x  3 josh users   5 Jun 14 13:43 bin
drwxr-xr-x  2 josh users   4 Jun 14 13:42 components

Actual Behavior

Directories in ~/.dapr are given 777 permissions.

drwxrwxrwx  3 josh users   5 Jun 14 13:43 bin
drwxrwxrwx  2 josh users   4 Jun 14 13:42 components

Steps to Reproduce the Problem

Release Note

RELEASE NOTE:

twinguy commented 6 months ago

Hi, first time contributor here, Quick question: Are there any obvious reasons the bin and components directories would be set to 777 or is this just a best practice oversight? If so, I will be glad to help with this issue.

yaron2 commented 6 months ago

Oversight. cc @mukundansundar