aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
cli |
public |
2021-07-26 07:37:38 -0700 |
2021-07-26 07:37:38 -0700 |
false |
20210726143738 |
false |
false |
|
Recursively Change Directory and File Permissions |
tech-note |
If you've messed up the permissions in a directory, you can recursively fix it with find
.
# Operate on directories:
find <path> -type d -exec chmod 755 {} \;
# Operate on files:
find <path> -type f -exec chmod 644 {} \;