Getting the warning “Insecure world writable dir /home/chance ” in PATH, mode 040777 for rails and gem

后端 未结 6 1594
渐次进展
渐次进展 2020-11-27 10:32

I\'ve tried this but it didn\'t work and seemed to be for osx. I have a fresh Ubuntu 10.10 install with rvm, rails 3 and ruby 1.9.2. I have a fresh rails app but using eithe

6条回答
  •  感动是毒
    2020-11-27 11:14

    You use the chmod go-w to whatever path the terminal gives you.

    So if it says /usr/local as the path in the error message:

    warning: Insecure world writable dir /usr/local in PATH, mode 040777
    

    You write

    chmod go-w /usr/local
    

提交回复
热议问题