質問編集履歴
4
検証内容、追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -39,6 +39,13 @@
|
|
39
39
|
lsattr: No such file or directory while trying to stat testfile
|
40
40
|
と表示される。
|
41
41
|
|
42
|
+
??????の文字化けを解消するため
|
43
|
+
docker stop コンテナ名
|
44
|
+
docker rm コンテナ名
|
45
|
+
docker run -e LANG=en_US.UTF-8 -it コンテナ名 /bin/bash
|
46
|
+
|
47
|
+
を実行して再度ls をするが、文字化け?は変わらず。
|
48
|
+
|
42
49
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
43
50
|
OS; CentoS 7.3.1611
|
44
51
|
Docker: version 17.04.0-ce, build 4845c56
|
3
lsattrの結果を追記。
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,7 +27,6 @@
|
|
27
27
|
|
28
28
|
が表示される。
|
29
29
|
|
30
|
-
|
31
30
|
sh-4.2# LANG=C /bin/ls -l > /tmp/lslog.txt
|
32
31
|
/bin/ls: cannot access testfile: No such file or directory
|
33
32
|
sh-4.2# less /tmp/lslog.txt
|
@@ -36,6 +35,10 @@
|
|
36
35
|
-rw-r--r-- 1 root root 0 Apr 19 11:14 lslog.txt
|
37
36
|
?????????? ? ? ? ? ? testfile
|
38
37
|
|
38
|
+
lsattr testfile を実行すると。
|
39
|
+
lsattr: No such file or directory while trying to stat testfile
|
40
|
+
と表示される。
|
41
|
+
|
39
42
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
40
43
|
OS; CentoS 7.3.1611
|
41
44
|
Docker: version 17.04.0-ce, build 4845c56
|
2
実行内容を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,6 +27,15 @@
|
|
27
27
|
|
28
28
|
が表示される。
|
29
29
|
|
30
|
+
|
31
|
+
sh-4.2# LANG=C /bin/ls -l > /tmp/lslog.txt
|
32
|
+
/bin/ls: cannot access testfile: No such file or directory
|
33
|
+
sh-4.2# less /tmp/lslog.txt
|
34
|
+
|
35
|
+
以下、抜粋
|
36
|
+
-rw-r--r-- 1 root root 0 Apr 19 11:14 lslog.txt
|
37
|
+
?????????? ? ? ? ? ? testfile
|
38
|
+
|
30
39
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
31
40
|
OS; CentoS 7.3.1611
|
32
41
|
Docker: version 17.04.0-ce, build 4845c56
|
1
余分な記述、ミスを修正。
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,10 +11,9 @@
|
|
11
11
|
|
12
12
|
ファイル名を指定して実行すると以下になる。
|
13
13
|
ls -l testfile
|
14
|
-
ls: cannot access
|
14
|
+
ls: cannot access testfile: No such file or directory
|
15
15
|
|
16
16
|
###試したこと
|
17
|
-
課題に対してアプローチしたことを記載してください
|
18
17
|
削除後に
|
19
18
|
touch testfile
|
20
19
|
を実行すると正常にコマンドが実行できる。
|