Added Synology & Permissions

This commit is contained in:
LeLawnGames
2024-12-11 02:52:46 -05:00
parent d2d40f3d73
commit d132e33f63
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -2,20 +2,20 @@
## Symbolic Notation ## Symbolic Notation
'''bash ```bash
chmod u+rwx foldername # Give owner read, write, execute chmod u+rwx foldername # Give owner read, write, execute
chmod g+rx foldername # Give group read and execute chmod g+rx foldername # Give group read and execute
chmod o-rwx foldername # Remove all permissions for others chmod o-rwx foldername # Remove all permissions for others
chmod -R u+rw foldername # Recursively give read/write to owner chmod -R u+rw foldername # Recursively give read/write to owner
''' ```
## Numeric Notation ## Numeric Notation
'''bash ```bash
chmod 755 foldername # rwxr-xr-x (owner: all, group: read+execute, others: read+execute) chmod 755 foldername # rwxr-xr-x (owner: all, group: read+execute, others: read+execute)
chmod 700 foldername # rwx------ (owner: all, no permissions for group or others) chmod 700 foldername # rwx------ (owner: all, no permissions for group or others)
chmod 777 foldername # rwxrwxrwx (all permissions for everyone - use cautiously) chmod 777 foldername # rwxrwxrwx (all permissions for everyone - use cautiously)
''' ```
The -R flag makes it recursive within every subfolder beneath the folder referenced. The -R flag makes it recursive within every subfolder beneath the folder referenced.
@@ -30,7 +30,7 @@ Common permission numbers:
Use chown to set permissions to a specific user. (You'll almost always need to run with sudo) Use chown to set permissions to a specific user. (You'll almost always need to run with sudo)
'''bash ```bash
# Change owner of a file/folder # Change owner of a file/folder
chown username foldername chown username foldername
@@ -42,4 +42,4 @@ chown -R username foldername
# Change owner and group recursively # Change owner and group recursively
chown -R username:groupname foldername chown -R username:groupname foldername
''' ```
+2 -2
View File
@@ -1,8 +1,8 @@
# Docker Permissions # Docker Permissions
You've saved the permissions run as fix-docker-permissions, so you can call it via CLI like this: You've saved the permissions run as fix-docker-permissions, so you can call it via CLI like this:
'''bash ```bash
sudo fix-docker-permissions sudo fix-docker-permissions
''' ```
It's also saved as a recurring task in Task Scheduler. It's also saved as a recurring task in Task Scheduler.