A Digital Life

My Notebook

View My GitHub Profile

  • About
  • 27 August 2022

    Shell Snippets

    by kerner1000

    Folders and files need to have different umask bits to have the ‘same’ rights. Therefore, we need to manually set the right mods:

    find /verzeichnis/ -type d -exec chmod 755 {} +
    find /verzeichnis/ -type f -exec chmod 644 {} +
    

    Sources: wiki.ubuntuusers.de/chmod/

    tags: Bash - Shell