Timeline for Find specific folders and then change their ownership
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 2, 2020 at 11:11 | comment | added | Stéphane Chazelas |
You can also use chmod u=rwX,g=rX,o=rX to cover both directory and regular files in the same chmod invocation (still can't use chmod -R though if you don't want to change the permissions of files that are neither regular nor directory).
|
|
| Jul 2, 2020 at 11:07 | comment | added | Stéphane Chazelas |
GNU's -print0 | xargs -0 sh -c '...' sh could be replaced with the standard -exec sh -c '...' {} + here. You'd probably want to make it -prune -exec ... as there's no point looking for more wp-content dirs inside the wp-content ones.
|
|
| Jun 24, 2020 at 19:39 | vote | accept | Leandro | ||
| Jun 24, 2020 at 18:13 | history | answered | Freddy | CC BY-SA 4.0 |