質問編集履歴
1
詳細を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,11 +8,45 @@
|
|
8
8
|
|
9
9
|
- TCPポート445番の許可
|
10
10
|
|
11
|
+
|タイプ|プロトコル|ポート範囲|ソース|
|
12
|
+
|
13
|
+
|:--|:--:|--:|
|
14
|
+
|
15
|
+
|SMB|TCP|445|0.0.0.0/0|
|
16
|
+
|
17
|
+
|
18
|
+
|
11
19
|
- sambaのインストール
|
12
20
|
|
13
21
|
- smb.confに共有フォルダを設定
|
14
22
|
|
23
|
+
```bash
|
24
|
+
|
25
|
+
[Share]
|
26
|
+
|
27
|
+
comment = Share Folder for All Users
|
28
|
+
|
29
|
+
path = /home/share
|
30
|
+
|
31
|
+
browsable = yes
|
32
|
+
|
33
|
+
writable = yes
|
34
|
+
|
35
|
+
read only = no
|
36
|
+
|
37
|
+
guest ok = yes
|
38
|
+
|
39
|
+
guest only = yes
|
40
|
+
|
41
|
+
```
|
42
|
+
|
15
43
|
- 共有フォルダを作成、所有権をnobody:nobodyに設定
|
44
|
+
|
45
|
+
```bash
|
46
|
+
|
47
|
+
drwxrwxrwx 2 nobody nobody 4096 Oct 11 12:50 share
|
48
|
+
|
49
|
+
```
|
16
50
|
|
17
51
|
|
18
52
|
|