We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a4a86 commit f74c470Copy full SHA for f74c470
ansible/www-standalone/resources/scripts/dist-perms
@@ -1,3 +1,3 @@
1
#!/bin/sh
2
3
-find /home/dist/nodejs/ \( -type f -o -type d \) -user dist -mtime +7 -exec chown root.root '{}' \;
+find /home/dist/nodejs/ -mindepth 2 \( -type f -o -type d \) -user dist -mtime +7 -exec chown root.root '{}' \;
0 commit comments