Erroneous “Mundo inseguro gravável dir foo no PATH” ao executar o script ruby
Quando executo um script ruby, ele me dá o seguinte:
[nathanb@nathanb-box ~] myscript .
/u/nathanb/bin/myscript:173: warning: Insecure world writable dir /usr/software/test/bin in PATH, mode 043777
/u/nathanb/bin/myscript:74: warning: Insecure world writable dir /usr/software/test/bin in PATH, mode 043777
/u/nathanb/bin/myscript:79: warning: Insecure world writable dir /usr/software/test/bin in PATH, mode 043777
Esta mensagem está incorreta porque / usr / software é montado como somente leitura:
software:/vol/software/ on /usr/software type nfs (ro,noatime,intr,rsize=32768,wsize=32768,timeo=600,nolock,addr=10.60.132.45,nfsvers=3,proto=tcp,mountproto=udp)
E posso verificar isso:
nathanb@nathanb-box /usr/software/test/bin] touch foo
touch: cannot touch `foo': Read-only file system
Acredito que meu ponto de montagem tenha as permissões corretas:
[nathanb@nathanb-box /usr] ls -ld /usr/software
drwxr-xr-x 27 root root 4096 2010-09-10 17:12 /usr/software
Então duas perguntas:
Isso legitimamente pode ser considerado um bug no Ruby?Como calar a boca? Existe uma maneira de desativar apenas este aviso específico?