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