User Tools

Site Tools


nix_mass_changing_file_and_directory_permissions

Mass changing file and directory permissions

First is for files, second directories. Obviously change the chmod flags to whatever you want/need

   find /path/to/base/dir -type f -exec chmod 644 {} +
   find /path/to/base/dir -type d -exec chmod 755 {} +
nix_mass_changing_file_and_directory_permissions.txt · Last modified: 2017/03/22 23:19 (external edit)