[Bug 66870] Re: Zsh auto-complete as root is broken

Roope Havu roope.havu at helsinki.fi
Thu Jan 1 11:44:07 UTC 2015


Strange, I had the seme problem just now with zsh 5.0.2, doing chmod g-w
on the zsh-complained-directories worked, now I tried taking all group
and other permissions away and still root-zsh complains about insecure
directories. Oh well, thank you for the fix anyway!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/66870

Title:
  Zsh auto-complete as root is broken

Status in zsh package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: zsh

  If I run zsh as root, or under sudo, and choose "n" when it asks to
  "Ignore insecure directories and continue", then auto-complete breaks.

  Here's an example session (I get as far as "ls /e" then press tab and
  the error shows up):

  flash% sudo zsh
  Ignore insecure directories and continue [ny]? n
  run compaudit to see list of insecure directories
  compinit: initialization aborted
  flash# ls /e_main_complete:122: permission denied: es/development/sprint-tracks

  _complete:96: bad math expression: operand expected at `'
  flash# ls /e

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/66870/+subscriptions



More information about the foundations-bugs mailing list