Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28b9744

Browse filesBrowse files
add new shell scripts
1 parent 54140f4 commit 28b9744
Copy full SHA for 28b9744
Expand file treeCollapse file tree

8 files changed

+1039
-0
lines changed

‎script/change_permissions.sh

Copy file name to clipboard
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# Fix user rights
4+
sudo usermod -a -G apache ec2-user
5+
sudo chown -R ec2-user:apache /var/www
6+
sudo chmod 2775 /var/www
7+
find /var/www -type d -exec sudo chmod 2775 {} \;
8+
find /var/www -type f -exec sudo chmod 0664 {} \;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.