From ab66de55a06913cd0531ddc86b4c720aebde1798 Mon Sep 17 00:00:00 2001 From: Bill Burn Date: Mon, 1 Jun 2020 06:16:06 -0500 Subject: [PATCH] Adding default Ubuntu file permissions --- Linux/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Linux/README.md b/Linux/README.md index 1a6d8c8..876b107 100644 --- a/Linux/README.md +++ b/Linux/README.md @@ -1,5 +1,13 @@ # Linux Enumeration Tips +## Default Ubuntu File Permissions +``` +* Folders should be 0755 +* Files shuld be 0664 +find /home/user -type d -print0 | xargs -0 chmod 0775 +find /home/user -type f -print0 | xargs -0 chmod 0664 +``` + ## Grep all file for string ``` grep -ilR "flag11" / 2>/dev/null