Compare commits
4 Commits
2f08d1c73a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1bb73cf22 | ||
|
|
30c5e40ac8 | ||
|
|
50e20a3489 | ||
|
|
31c6a6241e |
@@ -13,7 +13,8 @@ Dieses Projekt zeigt eine saubere, praxisnahe Einrichtung von
|
||||
| Hans Wurst | X | | | X |
|
||||
| Peter Lustig | | X | | X |
|
||||
|
||||
!!! Note ``Samba`` sollte bereits installiert sein
|
||||
!!! warning
|
||||
``Samba`` sollte bereits installiert sein
|
||||
|
||||
---
|
||||
|
||||
@@ -75,7 +76,8 @@ sudo chmod -R 0077 /srv/samba/lieferscheine
|
||||
# - 7: Gruppe hat Vollzugriff (rwx)
|
||||
# - 7: Andere haben Vollzugriff (wird durch Samba eingeschränkt)
|
||||
````
|
||||
!!! note Die tatsächlichen Rechte werden später durch Samba (````force create mode, valid users````) gesteuert.
|
||||
!!! note
|
||||
Die tatsächlichen Rechte werden später durch Samba (````force create mode, valid users````) gesteuert.
|
||||
|
||||
## 4. Samba-Freigaben konfigurieren
|
||||
|
||||
@@ -119,7 +121,8 @@ Aktivieren Sie die [homes]-Freigabe in ````/etc/samba/smb.conf```` (entkommentie
|
||||
directory mask = 0700 # Neue Ordner: rwx------
|
||||
valid users = %S # %S = Name des aktuellen Benutzers
|
||||
````
|
||||
!!! note ``%S`` wird automatisch durch den Benutzernamen ersetzt (z. B. hwurst).
|
||||
!!! note
|
||||
``%S`` wird automatisch durch den Benutzernamen ersetzt (z. B. hwurst).
|
||||
## 6. Netzwerkpapierkorb
|
||||
Gelöschte Dateien auf Netzlaufwerken können mit dem **Samba Recycle Bin Modul** gesichert werden.
|
||||
### 6.1 Konfiguration in ````smb.conf````
|
||||
@@ -141,7 +144,7 @@ Fügen Sie folgende Zeile ein (löscht Dateien älter als 14 Tage):
|
||||
````bash
|
||||
0 12 * * * for path in $(grep "path =" /etc/samba/smb.conf | cut -d= -f2 | sed 's/ //g'); do find "${path}/.recyclebin" -mindepth 1 -mtime +14 -exec rm -rf {} ; 2>/dev/null; done
|
||||
````
|
||||
!!! note Erklärung
|
||||
!!! note "Erklärung"
|
||||
* ````0 12 * * *````: Täglich um 12:00 Uhr.
|
||||
* ````grep "path ="````: Sucht alle ````path````-Einträge in ````smb.conf````.
|
||||
* ````find ... -mtime +14````: Löscht Dateien älter als 14 Tage im .recyclebin-Ordner.
|
||||
|
||||
2
mkdocs/docs/robots.txt
Normal file
2
mkdocs/docs/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
@@ -26,6 +26,8 @@ theme:
|
||||
logo: assets/Logo.png
|
||||
name: material
|
||||
features:
|
||||
- content.code.copy
|
||||
- content.code.select
|
||||
- navigation.sections
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
@@ -50,9 +52,18 @@ theme:
|
||||
# Markdown extensions
|
||||
markdown_extensions:
|
||||
- attr_list
|
||||
# - toc:
|
||||
# permalink: true
|
||||
- pymdownx.highlight
|
||||
- tables
|
||||
- attr_list
|
||||
- md_in_html
|
||||
- pymdownx.blocks.caption
|
||||
- toc:
|
||||
permalink: true
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
line_spans: __span
|
||||
pygments_lang_class: true
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.snippets
|
||||
- pymdownx.superfences
|
||||
- admonition
|
||||
- pymdownx.details
|
||||
@@ -64,6 +75,7 @@ markdown_extensions:
|
||||
- pymdownx.tilde
|
||||
plugins:
|
||||
- offline
|
||||
- minify
|
||||
- search:
|
||||
- optimize:
|
||||
concurrency: 2
|
||||
|
||||
Reference in New Issue
Block a user