Cheatsheet: Difference between revisions
Content added Content deleted
Line 838: | Line 838: | ||
chmod -R +w,g=rw,o-rw, ~/group-project-files/ |
chmod -R +w,g=rw,o-rw, ~/group-project-files/ |
||
* Restrict File Access: Remove all Group and World PermissionsPermalink |
|||
chmod 600 .msmtprc |
|||
chmod g-rwx,o-rwx .fetchmail |
|||
;Octal Notation for File Permissions: |
;Octal Notation for File Permissions: |
||
Line 854: | Line 857: | ||
Allows R,W,X permissions for the owner |
Allows R,W,X permissions for the owner |
||
R permissions for the group and “world” users |
R permissions for the group and “world” users |
||
* Other default permissions are 600 or 644 |
|||
* For executable files, the equivalent settings would be 700 and 755 |
|||
== Commands == |
== Commands == |