質問編集履歴
2
パーミッションに関して追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -142,6 +142,68 @@
|
|
142
142
|
|
143
143
|
|
144
144
|
|
145
|
+
/root/
|
146
|
+
|
147
|
+
> drwxr-xr-x 12 root root 4096 1月 30 11:29 .rbenv
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
/root/.rbenv/
|
152
|
+
|
153
|
+
> -rw-r--r-- 1 root root 3390 1月 30 11:16 CONDUCT.md
|
154
|
+
|
155
|
+
-rw-r--r-- 1 root root 1058 1月 30 11:16 LICENSE
|
156
|
+
|
157
|
+
-rw-r--r-- 1 root root 18527 1月 30 11:16 README.md
|
158
|
+
|
159
|
+
drwxr-xr-x 2 root root 18 1月 30 11:16 bin
|
160
|
+
|
161
|
+
drwxr-xr-x 2 root root 56 1月 30 11:16 completions
|
162
|
+
|
163
|
+
drwxr-xr-x 2 root root 4096 1月 30 11:16 libexec
|
164
|
+
|
165
|
+
drwxr-xr-x 3 root root 23 1月 30 11:20 plugins
|
166
|
+
|
167
|
+
drwxr-xr-x 3 root root 17 1月 30 11:16 rbenv.d
|
168
|
+
|
169
|
+
drwxr-xr-x 2 root root 78 2月 1 08:56 shims
|
170
|
+
|
171
|
+
drwxr-xr-x 2 root root 87 1月 30 11:16 src
|
172
|
+
|
173
|
+
drwxr-xr-x 3 root root 4096 1月 30 11:16 test
|
174
|
+
|
175
|
+
-rw-r--r-- 1 root root 6 2月 1 00:09 version
|
176
|
+
|
177
|
+
drwxr-xr-x 3 root root 18 1月 30 11:22 versions
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
/root/.rbenv/bin/
|
182
|
+
|
183
|
+
> lrwxrwxrwx 1 root root 16 1月 30 11:16 rbenv -> ../libexec/rbenv
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
/root/.rbenv/shims/
|
188
|
+
|
189
|
+
> -rwxr-xr-x 1 root root 385 1月 30 11:35 erb
|
190
|
+
|
191
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 gem
|
192
|
+
|
193
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 irb
|
194
|
+
|
195
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 rake
|
196
|
+
|
197
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 rdoc
|
198
|
+
|
199
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 ri
|
200
|
+
|
201
|
+
-rwxr-xr-x 1 root root 385 1月 30 11:35 ruby
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
145
207
|
参考にしたサイト
|
146
208
|
|
147
209
|
・[shebangについて](https://qiita.com/mohira/items/566ca75d704072bcb26f)
|
1
パーミッションに関して追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -112,6 +112,34 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
+
また、cgi-binディレクトリのパーミッションは以下のようになっております。
|
116
|
+
|
117
|
+
> ls -l
|
118
|
+
|
119
|
+
合計 4
|
120
|
+
|
121
|
+
drwxrwxr-x 2 apache username 88 2月 1 07:27 cgi-bin
|
122
|
+
|
123
|
+
drwxrwxr-x 4 apache username 4096 2月 1 07:27 html
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
cgi-binディレクトリ内のファイルのパーミッションは以下の通りです。
|
128
|
+
|
129
|
+
> ls -l
|
130
|
+
|
131
|
+
合計 52
|
132
|
+
|
133
|
+
-rwxr-xr-x 1 root root 565 1月 31 22:21 index.css
|
134
|
+
|
135
|
+
-rwxr-xr-x 1 root root 36864 1月 31 22:08 report.db
|
136
|
+
|
137
|
+
-rwxr-xr-x 1 root root 231 2月 1 06:21 test.cgi
|
138
|
+
|
139
|
+
-rwxr-xr-x 1 root root 3536 1月 31 22:08 thread.cgi
|
140
|
+
|
141
|
+
-rwxr-xr-x 1 root root 3373 1月 31 22:34 toppage.cgi
|
142
|
+
|
115
143
|
|
116
144
|
|
117
145
|
参考にしたサイト
|