Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make xargs split by linebreak #23

Merged
merged 2 commits into from
Jan 2, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
make xargs split by linebreak in init-core
  • Loading branch information
Miroka96 committed Dec 25, 2020
commit 26ad388358a85f1521d6f199bc56da1d387403d1
8 changes: 4 additions & 4 deletions root/init-core
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ sed -i -e 's/www-data/xyz/g' /etc/php/7.3/fpm/pool.d/www.conf

# Set Permissions
chown -R xyz:xyz /var/www
find /var/www/grav -type f | xargs chmod 664
find /var/www/grav/bin -type f | xargs chmod 775
find /var/www/grav -type d | xargs chmod 775
find /var/www/grav -type d | xargs chmod +s
find /var/www/grav -type f | xargs -d '\n' chmod 664
find /var/www/grav/bin -type f | xargs -d '\n' chmod 775
find /var/www/grav -type d | xargs -d '\n' chmod 775
find /var/www/grav -type d | xargs -d '\n' chmod +s
umask 0002

service php7.3-fpm start
Expand Down