github / github/copilot-cli

Allow directory access prompt not listing directory

Open
#4,142 0 comments 0 reactions 0 assignees View on GitHub
area:permissions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I'm getting prompts to allow directory access that are not listing the directory that the request is for or I am getting a partial request.
This is the shell command that it is trying to execute
Shell Check git status in Storage-MDMToKusto repo
git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short

Image

Another example

Image

### Affected version

1.0.70

### Steps to reproduce the behavior

_No response_

### Expected behavior

the text in the box should show the path where access is being requested

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the directory access prompt for `git -C C:\Users\shariceg\workspace\Storage-MDMToKusto status --short` on version 1.0.70 and compare the displayed request with the command's full path. Done means the prompt consistently shows the complete directory path for the requested access.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.