Skip to content

Commit f74c470

Browse files
committed
www: fix /dist permissions fixer, ignore top-level directories
Ref: #2020 (comment)
1 parent e3a4a86 commit f74c470

File tree

1 file changed

+1
-1
lines changed
  • ansible/www-standalone/resources/scripts

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
find /home/dist/nodejs/ \( -type f -o -type d \) -user dist -mtime +7 -exec chown root.root '{}' \;
3+
find /home/dist/nodejs/ -mindepth 2 \( -type f -o -type d \) -user dist -mtime +7 -exec chown root.root '{}' \;

0 commit comments

Comments
 (0)