Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Windows - Running cmd as administrator doesn't allow access to K:\ #353

Open
ghost opened this issue Sep 15, 2016 · 8 comments
Open

Windows - Running cmd as administrator doesn't allow access to K:\ #353

ghost opened this issue Sep 15, 2016 · 8 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2016

Client: 1.0.17-20160822152935+692af12
Service: 1.0.17-20160822152935+692af12

Steps:

Right click cmd and select 'Run as administrator'
At prompt type 'K:'
Hit Enter

Receive:

"The system cannot find the drive specified."

I believe this is also linked to 352.

Essentially running cmd or cmder as administrator will currently stop access to K:\

@taruti
Copy link
Contributor

taruti commented Sep 15, 2016

We block other users from accessing the drive by design.

This is also true with fuse typically on *nix.

@taruti
Copy link
Contributor

taruti commented Sep 15, 2016

Although I guess the SID checking could be extended in theory for this...

@ghost
Copy link
Author

ghost commented Sep 16, 2016

That makes sense. I'll leave the SID checking to your discretion. Maybe an informative message somewhere to advise that you're running as Administrator?

@averagejoey2000
Copy link

I am unable to access the kbfs folder using the shell at all in any capacity. When I type cs k: it outputs k:\ and redirects me back to the folder I started in. I can't access it as an administrator or as a user, even if I am the user who made the keybase installation. I have a 10 GiB partition on my computer I can't do anything with at all.

@taruti
Copy link
Contributor

taruti commented Oct 24, 2016

@averagejoey2000

Can you try to access with cmd as the same user that keybase is run as, and do a keybase log send and attach the log id here.

@averagejoey2000
Copy link

Update: I can execute mv secret.txt to k:/private/averagejoey2000 and I can
also notepad k:/public/chris/plan.txt

On Oct 24, 2016 6:37 AM, "Joseph Simone" averagejoey2000@gmail.com wrote:

I can't run these commands from the keybase shell as root or as
averagejoey2000@keybase. I can move files in an out of the directory, but
I cannot force the cmd or keybase shell to stay in k:/

On Oct 24, 2016 1:38 AM, "Taru Karttunen" notifications@github.com
wrote:

@averagejoey2000 https://github.com/averagejoey2000

Can you try to access with cmd as the same user that keybase is run as,
and do a keybase log send and attach the log id here.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#353 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHKJE5VcE0dWePUvYfYi-i7wZulCh51wks5q3G5tgaJpZM4J9uP4
.

@averagejoey2000
Copy link

I can't run these commands from the keybase shell as root or as
averagejoey2000@keybase. I can move files in an out of the directory, but I
cannot force the cmd or keybase shell to stay in k:/

On Oct 24, 2016 1:38 AM, "Taru Karttunen" notifications@github.com wrote:

@averagejoey2000 https://github.com/averagejoey2000

Can you try to access with cmd as the same user that keybase is run as,
and do a keybase log send and attach the log id here.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#353 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHKJE5VcE0dWePUvYfYi-i7wZulCh51wks5q3G5tgaJpZM4J9uP4
.

@jamessantiago
Copy link

I have the same issue, but work around it by using one window as a regular user and one as an administrator (using cmder). It would probably be preferable that if I ran keybase as an administrator then the kbfs drive would be accessible in the administrator context as well or in both admin and regular user contexts. Or maybe when running kbfsmount it would mount in the current context...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants