Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions files/usr/local/sbin/chwebown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
ionice -c 3 chown -R www-data:www-data $1
ionice -c 3 find $1 -type d -exec chmod 775 {} \;
ionice -c 3 find $1 -type f -exec chmod 664 {} \;
ionice -c 3 find $1 -type d -print0 | xargs -0 chmod 775
ionice -c 3 find $1 -type f -print0 | xargs -0 chmod 644