-
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I've been trying to access older entries from clipboard with hs commands, but the terminal always return an error message telling me that I "might be lacking the permissions", and I couldn't seem to get the requested entry.
To Reproduce
~> cb cp 1
✔ Copied text "1"
~> cb cp b
✔ Copied text "b"
~> cb cp 3
✔ Copied text "3"
~> cb hs
┏━━ Entry history for clipboard 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ 3│ n/a│ 0B│ ┃
┃ 2│ n/a│ 1B│ 1 ┃
┃ 1│ n/a│ 1B│ b ┃
┃ 0│ n/a│ 1B│ 3 ┃
┗━━▌Text, Files, Directories, Data ▐━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
~> cb hs 2
✘ Internal error: rename: Access is denied.: "C:\Users\foobar\AppData\Local\Temp\Clipboard\0\data\1", "C:\Users\foobar\AppData\Local\Temp\Clipboard\0\data\4"
┃ This might be a bug, or you might be lacking permissions on this system.
~> cb hs
┏━━ Entry history for clipboard 0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ 5│ n/a│ 0B│ ┃
┃ 4│ n/a│ 1B│ 1 ┃
┃ 3│ n/a│ 1B│ b ┃
┃ 2│ n/a│ 1B│ 3 ┃
┃ 1│ n/a│ 0B│ ┃
┃ 0│ n/a│ 1B│ 3 ┃
┗━━▌Text, Files, Directories, Data ▐━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Expected behavior
Access the older entries on the clipboard as advertised.
Version
I'm using cb 0.10.1 on Windows 11, installed with the default install script on the GitHub page.
The terminals I've tried include:
- nushell 0.109.1
- Windows powershell 7.4.13
- cmd
all tested both with administrator permissions, both "run as administrator" in the menu and sudo command; I'm the administrator and the sole user of the system.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working