mirror of
https://github.com/golang/go
synced 2024-11-05 23:36:12 -07:00
11 lines
195 B
Plaintext
11 lines
195 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
GOROOT=/usr/local/go
|
||
|
|
||
|
echo "Fixing permissions"
|
||
|
cd $GOROOT
|
||
|
find . -exec chmod ugo+r \{\} \;
|
||
|
find bin -exec chmod ugo+rx \{\} \;
|
||
|
find . -type d -exec chmod ugo+rx \{\} \;
|
||
|
chmod o-w .
|