warp icon indicating copy to clipboard operation
warp copied to clipboard

Can not ls on ~/Downloads after update

Open thearyanahmed opened this issue 4 years ago • 10 comments

Discord username (optional)

No response

Describe the bug

After updating to the latest (as of today : v0.2022.11.01.08.03.stable_00) I can't use ls on ~/Downloads directory. Though I can use ls on other directories.

Did a restart but it is still there. I can do the same operation with other terminals.

To Reproduce

  • cd ~/Downloads
  • ls

Expected behaviour

List files in the directory

Screenshots

image

Operating System

MacOS

OS Version

12.6 (21G115) (apple m1)

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

v0.2022.11.01.08.03.stable_00

Additional context

No response

Does this block you from using Warp daily?

Yes

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

thearyanahmed avatar Nov 04 '22 14:11 thearyanahmed

Hi @thearyanahmed Sorry to hear about this. I can't quite reproduce this, but I just want to make sure. Run which ls just to confirm you're not using some alias for that command. I've noticed ls fail with double-dash flags in the alias like ls --color=auto

dannyneira avatar Nov 10 '22 00:11 dannyneira

Right now, which ls returns /bin/ls. After creating this issue, I had to reboot my mac for some other reason. And it was fixed. I had to change nothing. But, right now, I just did an update (current version: v0.2022.11.08.08.07.stable_02) and here I am with the same issue again.

image

But before this update, operation was permitted.

thearyanahmed avatar Nov 11 '22 08:11 thearyanahmed

@thearyanahmed we have another version released, are you still seeing the same issue with ls?

dannyneira avatar Dec 07 '22 23:12 dannyneira

The problem is persistent. Last checked on version v0.2022.11.29.08.03.stable_06

thearyanahmed avatar Dec 08 '22 08:12 thearyanahmed

I am also having this issue with v0.2022.12.06.08.03.stable_02

fc7 avatar Dec 14 '22 16:12 fc7

This is easy to fix manually however: under macOS Preferences -> Security & Privacy -> Files and Folders, for the application Warp, simply tick the checkboxes for Downloads and Desktop, as they are unchecked by default. After reloading Warp, you'll be able to access them. But I agree that this should be set during installation, as is the case e.g. with iTerm2.

fc7 avatar Dec 14 '22 17:12 fc7

@fc7 Solution worked for me, somehow if you miss the permissions prompt you'll have errors every time you ls a new folder. image

juli4nb4dillo avatar Mar 02 '23 14:03 juli4nb4dillo

After upgrade My macOS version to 14.4 (23E214), the issue occurs with v0.2024.04.09.08.01.stable_01. BUT it's ok with my iterm2

Christophe1997 avatar Apr 12 '24 05:04 Christophe1997

You probably should add Warp on System Settings > Privacy & Security > Full Disk access

Screenshot 2024-06-05 at 14 11 42

jcrapet avatar Jun 05 '24 12:06 jcrapet

Seems like there is a way around now. Not using it anymore myself. For others who are, see the comments above

thearyanahmed avatar Jun 16 '24 19:06 thearyanahmed