skywind3000 / skywind3000/z.lua

Some paths can only be added as administrator

Open
#74 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
3.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I tried to add C:\Program Files (x86)\World of Warcraft\_classic_ to the z index by doing cd C:\Program Files (x86)\World of Warcraft\_classic_ without admin rights.
But the directory doesn't show up in z -l and i can't jump into it with z classic.
When i do the same as administrator it works.
Interestingly C:\Program Files (x86)\World of Warcraft works without admin privileges.

I don't understand why z would need admin privileges for this?
Is there any way around it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior on Windows with the reported C:\Program Files (x86)\World of Warcraft paths, using cd, z -l, and z classic without administrator rights, then compare it with an administrator session. Done means the nested path can be added and reached without elevated privileges, or the permission limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.