junegunn / junegunn/fzf.vim

Permission denied os error 13 when calling :Files from $HOME

Open
#813 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [ ] Question
- [x] Bug
- [ ] Suggestion
- OS
- [ ] Linux
- [x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [x] Neovim

In home directory, calling `fzf` in terminal works as expected.

Opening nvim also from home directory and then doing `:Files` in nvim runs for ~30k files before it starts to produce many "permission denied" "os error 13" messages.

This is my entire .vimrc (did PlugClean and PlugInstall):

call plug#begin()
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
call plug#end()

I also tried with `vim -Nu <(curl https://gist.githubusercontent.com/junegunn/6936bf79fedd3a079aeb1dd2f3c81ef5/raw)` and have the same result.

The exact error from `:messages` is:

> Error running ( /bin/zsh '/var/folders/sl/_[snip]_/T/nvim0ZqvRX/2' )
|'/Users/_[snip]_/.fzf/bin/fzf' '-m' '--prompt' '~/' --expect=ctrl-v,ctrl-x,ctrl-t --no-height
> /var/folders/sl/_[snip]_/T/nvim0ZqvRX/1

(The "[snip]"s are mine, for privacy.)

neovim version is 0.3.5.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.