Permission in Linux


19/08/2019 03:39:50 62 Web

r  = 4
w =2
x = 1

Mengganti Permission

find . -type f -exec chmod 644 {} \;

find . -type f -print0 | xargs -0 -I {} chmod 644 {}

Rerensi: [1] https://unix.stackexchange.com/questions/39710/how-to-get-permission-number-by-string-rw-r-r [2] https://www.cyberciti.biz/faq/unix-linux-bsd-chmod-numeric-permissions-notation-command/ [3] https://askubuntu.com/questions/694576/command-to-change-permissions-only-on-files-not-directories