9 lines
157 B
Bash
9 lines
157 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
find . -type d -not -perm 755 -exec chmod 755 '{}' \;
|
||
|
find . -type f -not -perm 644 -exec chmod 644 '{}' \;
|
||
|
|
||
|
chown -R root:root *
|
||
|
|
||
|
chmod 755 $0
|