Skip to content

Commit

Permalink
Merge pull request #454 from drpayyne/patch-1
Browse files Browse the repository at this point in the history
Updated text in fixowns & fixperms
  • Loading branch information
markshust authored May 7, 2021
2 parents c0cda5a + f66c887 commit 3f8b3cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compose/bin/fixowns
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
echo "Correcting filesystem ownerships..."
echo "Fixing filesystem ownerships..."

if [ -z "$1" ]; then
bin/rootnotty chown -R app:app /var/www/
else
bin/rootnotty chown -R app:app /var/www/html/"$1"
fi

echo "Filesystem ownerships corrected."
echo "Filesystem ownerships fixed."
4 changes: 2 additions & 2 deletions compose/bin/fixperms
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
echo "Correcting filesystem permissions..."
echo "Fixing filesystem permissions..."

if [ -z "$1" ]; then
bin/clinotty find var vendor pub/static pub/media app/etc \( -type f -or -type d \) -exec chmod u+w {} +;
Expand All @@ -8,4 +8,4 @@ else
bin/clinotty find "$1" \( -type f -or -type d \) -exec chmod u+w {} +;
fi

echo "Filesystem permissions corrected."
echo "Filesystem permissions fixed."

0 comments on commit 3f8b3cb

Please sign in to comment.