Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh, compinit and ownership
- X-seq: zsh-users 16745
- From: Jay Levitt <jay.levitt@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zsh, compinit and ownership
- Date: Mon, 30 Jan 2012 11:56:57 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=vbqDnh+G6fO05iaUEN7XGw1uBev/ETDebxCJ2/J6Ny0=; b=Nrl/be/n5GOWMsfdKbRFFwSRa/RSJYB1c0j0PNRzm0MMcs7Wyc7Ydu7n0hwx9Mwo95 aWY1+QhRmm8pMwfz8pxgtKUcVYAYoF2X1zM4o9o0veufOQss3o4kyXWX6AxJAJLa+Mwv nY3ZrGqgcNClfJ6lhspzkCWPKKF1F/C7YwSeU=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I have zsh installed on my Mac via homebrew, which expects packages to
live under /usr/local and be owned by the primary user (in my case,
user "jay"). But I think zsh expects its sitewide directories to be
owned by root and only root. So with ownership like:
drwxr-xr-x 3 jay staff 102B Oct 1 16:12
/usr/local/Cellar/zsh/4.3.12/share/zsh/site-functions/
I get the following with "sudo -s":
% sudo -s
Password:
zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] or abort compinit [n]? n
compinit: initialization aborted
Is there a way around this conflict, to tell zsh "No, trust me, it's
ok to be owned by jay"? Or is the only solution to teach homebrew to
have that folder owned by root?
See also:
https://github.com/mxcl/homebrew/issues/7801#issuecomment-2187273
Jay
Messages sorted by:
Reverse Date,
Date,
Thread,
Author