1

I'm using emacs on the mac and helm-projectile is acting up.

It's still working for files in current dired buffer, but the find-files feature is throwing the error:

find: -perm /444: illegal mode string

I recently installed powerline and I'm wondering if it has anything to do with the mode line, but I'm not sure if that's the case.

Has anyone ever had this error before?

3

The option -perm /444 is specific to the GNU find command, so it works on Linux but not on other Unix systems such as OSX. It looks for files that are readable by at least one user, which is pretty useless in practice since it's quite rare for a file not to be readable by anyone. -readable (which matches files that are readable to you) would be useful, but it too is a GNU extension which is not available on OSX. If you find what's issuing it, just remove the -perm /444 bit altogether.

There's no -perm /444 in Helm or Projectile from Git. However there was a use of -perm /444 in Projectile for a few weeks in July 2015, in an attempt to fix issue #695. This is probably what you're seeing. It was introduced on 2015-07-28 and fixed on 2015-08-07, so just upgrading helm-projectile to the latest version on MELPA (currently 20150826.321) should work.

  • Thanks I had transferred my emacs config from Ubuntu, and that's why it worked before. – m0meni Aug 26 '15 at 22:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.