Bug #8532
closed
tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Added by zzak (zzak _) over 11 years ago.
Updated over 11 years ago.
Description
i've attached the full log
Files
No log attached.
What does `ls -dl /usr/local' show?
drwxrwxrwx 21 root admin 714 Jun 14 00:00 /usr/local
re: attachment, try now!
- 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?
i have no idea, what should it be?
- Status changed from Feedback to Closed
this was my fault (probably), thanks nobu for checking!
Remove write-bits:
sudo chmod go-w /usr/local
or make it sticky:
sudo chmod +t /usr/local
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0