fish terminal highlights 1 folder and most of it's subfolders -
the title pretty says all. 1 of used used folders in fish terminal became highlighted in yellow. of it's sub folders highlighted in yellow too. not sure happened. it's on mac yosemite
fish shell highlighted directories yellow because directory's permissions set everyone can read, write, , execute. essentially fish shell warning directory has least restrictive permissions in case weren't aware.
for example, in screenshot:
- if change permissions directory "oranges" can read+write+execute (
chmod 777 oranges/
), can see fish shell adds yellow highlight. - when change permissions more restrictive (
chmod 775 /oranges
), directory "orange" no longer highlighted.
here's good explanation of file permissions , command chmod
more detail.
Comments
Post a Comment