Project

General

Profile

Actions

Bug #8532

closed

tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777

Added by zzak (zzak _) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Target version:
ruby -v:
r41328
[ruby-core:55503]

Description

i've attached the full log


Files

build.log.tar.gz (10.4 KB) build.log.tar.gz zzak (zzak _), 06/16/2013 02:42 PM

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

No log attached.
What does `ls -dl /usr/local' show?

Updated by zzak (zzak _) almost 11 years ago

drwxrwxrwx 21 root admin 714 Jun 14 00:00 /usr/local

re: attachment, try now!

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

  • Status changed from Open to Feedback

Then it's an intended warning.

It's considered dangerous to include a world-writable directory or its descendent directory in PATH.
Why is the system-wide directory world-writable?

Updated by zzak (zzak _) almost 11 years ago

i have no idea, what should it be?

Updated by zzak (zzak _) almost 11 years ago

  • Status changed from Feedback to Closed

this was my fault (probably), thanks nobu for checking!

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

Remove write-bits:
sudo chmod go-w /usr/local
or make it sticky:
sudo chmod +t /usr/local

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0