1 |
30 |
unneback |
|
2 |
|
|
|
3 |
|
|
*** STAT TEST 01 ***
|
4 |
|
|
>>>>Current Time: - rtems_clock_get - 09:00:00 12/31/1988
|
5 |
|
|
Making directory /dir1
|
6 |
|
|
Making directory /dir2
|
7 |
|
|
Making directory /dir3
|
8 |
|
|
Making directory /dir4
|
9 |
|
|
Making directory /dir1/dir1
|
10 |
|
|
Making directory /./././dir1/ dir1
|
11 |
|
|
Making directory /./././links
|
12 |
|
|
Making directory ///dir1/dir1/../../dir1/../symlinks/////
|
13 |
|
|
Making file ////dir1///file1\//
|
14 |
|
|
Making file /dir1/file2
|
15 |
|
|
Making file /dir1/file3
|
16 |
|
|
Making file /dir1/file4
|
17 |
|
|
Making file /dir1/dir1/file1
|
18 |
|
|
Making file ../../..//dir1/./././dir1/ file1
|
19 |
|
|
Making file main.c
|
20 |
|
|
Making file dir1/dir1/../../links/dir1
|
21 |
|
|
Making file links/dir2
|
22 |
|
|
Making file links/dir3
|
23 |
|
|
Making file links/dir4
|
24 |
|
|
Making file links/dir1_dir1
|
25 |
|
|
Making file links/dir1_ dir1
|
26 |
|
|
Making file links/../links/../links/links
|
27 |
|
|
Making file links/dir1_file1
|
28 |
|
|
Making file links/dir1_file2
|
29 |
|
|
Making file links/dir1_file3
|
30 |
|
|
Making file links/dir1_file4
|
31 |
|
|
Making file links/dir1_dir1_f1
|
32 |
|
|
Making file links/dir1_dir1 f1
|
33 |
|
|
Making file links/links/links/links_dir1
|
34 |
|
|
Making file links//links_dir2
|
35 |
|
|
Making file links//links_dir3
|
36 |
|
|
Making file links//links_dir4
|
37 |
|
|
Making file links//links_dir1_d1
|
38 |
|
|
Making file links//links_dir1 d1
|
39 |
|
|
Making file links//links_links
|
40 |
|
|
Making file links///links_d1_file1
|
41 |
|
|
Making file links///links_d1_file2
|
42 |
|
|
Making file links///links_d1_file3
|
43 |
|
|
Making file links///links_d1_file4
|
44 |
|
|
Making file links///links_d1_d1_f1
|
45 |
|
|
Making file links///links_r1_d1 f1
|
46 |
|
|
Doing the stat() on all the good absolute paths
|
47 |
|
|
stat( /dev ) returned
|
48 |
|
|
st_dev (0x0:0x0)
|
49 |
|
|
...st_ino 2 ( May vary slightly )
|
50 |
|
|
...st_mode 40771
|
51 |
|
|
...st_nlink 1
|
52 |
|
|
...st_uid 0
|
53 |
|
|
...st_gid 0
|
54 |
|
|
...st_rdev (0x0:0x0)
|
55 |
|
|
...st_size 536
|
56 |
|
|
...st_atime Fri Jan 01 00:00:00 1988
|
57 |
|
|
...st_mtime Fri Jan 01 00:00:00 1988
|
58 |
|
|
...st_ctime Fri Jan 01 00:00:00 1988
|
59 |
|
|
stat( ////dir1///file1\// ) returned
|
60 |
|
|
st_dev (0x0:0x0)
|
61 |
|
|
...st_ino d ( May vary slightly )
|
62 |
|
|
...st_mode 100000
|
63 |
|
|
...st_nlink 3
|
64 |
|
|
...st_uid 0
|
65 |
|
|
...st_gid 0
|
66 |
|
|
...st_rdev (0x0:0x0)
|
67 |
|
|
...st_size 0
|
68 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
69 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
70 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
71 |
|
|
stat( /dir1/\/file2 ) returned
|
72 |
|
|
st_dev (0x0:0x0)
|
73 |
|
|
...st_ino e ( May vary slightly )
|
74 |
|
|
...st_mode 100000
|
75 |
|
|
...st_nlink 3
|
76 |
|
|
...st_uid 0
|
77 |
|
|
...st_gid 0
|
78 |
|
|
...st_rdev (0x0:0x0)
|
79 |
|
|
...st_size 0
|
80 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
81 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
82 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
83 |
|
|
stat( /dir1/file3/////\ ) returned
|
84 |
|
|
st_dev (0x0:0x0)
|
85 |
|
|
...st_ino f ( May vary slightly )
|
86 |
|
|
...st_mode 100000
|
87 |
|
|
...st_nlink 3
|
88 |
|
|
...st_uid 0
|
89 |
|
|
...st_gid 0
|
90 |
|
|
...st_rdev (0x0:0x0)
|
91 |
|
|
...st_size 0
|
92 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
93 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
94 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
95 |
|
|
stat( /dir1/file4 ) returned
|
96 |
|
|
st_dev (0x0:0x0)
|
97 |
|
|
...st_ino 10 ( May vary slightly )
|
98 |
|
|
...st_mode 100000
|
99 |
|
|
...st_nlink 3
|
100 |
|
|
...st_uid 0
|
101 |
|
|
...st_gid 0
|
102 |
|
|
...st_rdev (0x0:0x0)
|
103 |
|
|
...st_size 0
|
104 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
105 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
106 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
107 |
|
|
stat( /dir1/dir1/file1 ) returned
|
108 |
|
|
st_dev (0x0:0x0)
|
109 |
|
|
...st_ino 11 ( May vary slightly )
|
110 |
|
|
...st_mode 100000
|
111 |
|
|
...st_nlink 3
|
112 |
|
|
...st_uid 0
|
113 |
|
|
...st_gid 0
|
114 |
|
|
...st_rdev (0x0:0x0)
|
115 |
|
|
...st_size 0
|
116 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
117 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
118 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
119 |
|
|
stat( /dir1/dir1/ file1 ) returned
|
120 |
|
|
st_dev (0x0:0x0)
|
121 |
|
|
...st_ino 12 ( May vary slightly )
|
122 |
|
|
...st_mode 100000
|
123 |
|
|
...st_nlink 3
|
124 |
|
|
...st_uid 0
|
125 |
|
|
...st_gid 0
|
126 |
|
|
...st_rdev (0x0:0x0)
|
127 |
|
|
...st_size 0
|
128 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
129 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
130 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
131 |
|
|
stat( /dir1 ) returned
|
132 |
|
|
st_dev (0x0:0x0)
|
133 |
|
|
...st_ino 5 ( May vary slightly )
|
134 |
|
|
...st_mode 40700
|
135 |
|
|
...st_nlink 3
|
136 |
|
|
...st_uid 0
|
137 |
|
|
...st_gid 0
|
138 |
|
|
...st_rdev (0x0:0x0)
|
139 |
|
|
...st_size 1608
|
140 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
141 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
142 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
143 |
|
|
stat( /dir2////// ) returned
|
144 |
|
|
st_dev (0x0:0x0)
|
145 |
|
|
...st_ino 6 ( May vary slightly )
|
146 |
|
|
...st_mode 40700
|
147 |
|
|
...st_nlink 3
|
148 |
|
|
...st_uid 0
|
149 |
|
|
...st_gid 0
|
150 |
|
|
...st_rdev (0x0:0x0)
|
151 |
|
|
...st_size 0
|
152 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
153 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
154 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
155 |
|
|
stat( /dir3 ) returned
|
156 |
|
|
st_dev (0x0:0x0)
|
157 |
|
|
...st_ino 7 ( May vary slightly )
|
158 |
|
|
...st_mode 40700
|
159 |
|
|
...st_nlink 3
|
160 |
|
|
...st_uid 0
|
161 |
|
|
...st_gid 0
|
162 |
|
|
...st_rdev (0x0:0x0)
|
163 |
|
|
...st_size 0
|
164 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
165 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
166 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
167 |
|
|
stat( /dir4 ) returned
|
168 |
|
|
st_dev (0x0:0x0)
|
169 |
|
|
...st_ino 8 ( May vary slightly )
|
170 |
|
|
...st_mode 40700
|
171 |
|
|
...st_nlink 3
|
172 |
|
|
...st_uid 0
|
173 |
|
|
...st_gid 0
|
174 |
|
|
...st_rdev (0x0:0x0)
|
175 |
|
|
...st_size 0
|
176 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
177 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
178 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
179 |
|
|
stat( /dir1/dir1 ) returned
|
180 |
|
|
st_dev (0x0:0x0)
|
181 |
|
|
...st_ino 9 ( May vary slightly )
|
182 |
|
|
...st_mode 40700
|
183 |
|
|
...st_nlink 3
|
184 |
|
|
...st_uid 0
|
185 |
|
|
...st_gid 0
|
186 |
|
|
...st_rdev (0x0:0x0)
|
187 |
|
|
...st_size 536
|
188 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
189 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
190 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
191 |
|
|
stat( /dir1/ dir1///\ ) returned
|
192 |
|
|
st_dev (0x0:0x0)
|
193 |
|
|
...st_ino a ( May vary slightly )
|
194 |
|
|
...st_mode 40700
|
195 |
|
|
...st_nlink 3
|
196 |
|
|
...st_uid 0
|
197 |
|
|
...st_gid 0
|
198 |
|
|
...st_rdev (0x0:0x0)
|
199 |
|
|
...st_size 0
|
200 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
201 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
202 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
203 |
|
|
stat( ///////links///// ) returned
|
204 |
|
|
st_dev (0x0:0x0)
|
205 |
|
|
...st_ino b ( May vary slightly )
|
206 |
|
|
...st_mode 40700
|
207 |
|
|
...st_nlink 3
|
208 |
|
|
...st_uid 0
|
209 |
|
|
...st_gid 0
|
210 |
|
|
...st_rdev (0x0:0x0)
|
211 |
|
|
...st_size 6968
|
212 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
213 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
214 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
215 |
|
|
Doing the stat() on all the good relative paths
|
216 |
|
|
stat( dev ) returned
|
217 |
|
|
st_dev (0x0:0x0)
|
218 |
|
|
...st_ino 2 ( May vary slightly )
|
219 |
|
|
...st_mode 40771
|
220 |
|
|
...st_nlink 1
|
221 |
|
|
...st_uid 0
|
222 |
|
|
...st_gid 0
|
223 |
|
|
...st_rdev (0x0:0x0)
|
224 |
|
|
...st_size 536
|
225 |
|
|
...st_atime Fri Jan 01 00:00:00 1988
|
226 |
|
|
...st_mtime Fri Jan 01 00:00:00 1988
|
227 |
|
|
...st_ctime Fri Jan 01 00:00:00 1988
|
228 |
|
|
stat( dir1///file1\// ) returned
|
229 |
|
|
st_dev (0x0:0x0)
|
230 |
|
|
...st_ino d ( May vary slightly )
|
231 |
|
|
...st_mode 100000
|
232 |
|
|
...st_nlink 3
|
233 |
|
|
...st_uid 0
|
234 |
|
|
...st_gid 0
|
235 |
|
|
...st_rdev (0x0:0x0)
|
236 |
|
|
...st_size 0
|
237 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
238 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
239 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
240 |
|
|
stat( dir1/\/file2 ) returned
|
241 |
|
|
st_dev (0x0:0x0)
|
242 |
|
|
...st_ino e ( May vary slightly )
|
243 |
|
|
...st_mode 100000
|
244 |
|
|
...st_nlink 3
|
245 |
|
|
...st_uid 0
|
246 |
|
|
...st_gid 0
|
247 |
|
|
...st_rdev (0x0:0x0)
|
248 |
|
|
...st_size 0
|
249 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
250 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
251 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
252 |
|
|
stat( dir1/file3/////\ ) returned
|
253 |
|
|
st_dev (0x0:0x0)
|
254 |
|
|
...st_ino f ( May vary slightly )
|
255 |
|
|
...st_mode 100000
|
256 |
|
|
...st_nlink 3
|
257 |
|
|
...st_uid 0
|
258 |
|
|
...st_gid 0
|
259 |
|
|
...st_rdev (0x0:0x0)
|
260 |
|
|
...st_size 0
|
261 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
262 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
263 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
264 |
|
|
stat( dir1/file4 ) returned
|
265 |
|
|
st_dev (0x0:0x0)
|
266 |
|
|
...st_ino 10 ( May vary slightly )
|
267 |
|
|
...st_mode 100000
|
268 |
|
|
...st_nlink 3
|
269 |
|
|
...st_uid 0
|
270 |
|
|
...st_gid 0
|
271 |
|
|
...st_rdev (0x0:0x0)
|
272 |
|
|
...st_size 0
|
273 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
274 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
275 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
276 |
|
|
stat( dir1/dir1/file1 ) returned
|
277 |
|
|
st_dev (0x0:0x0)
|
278 |
|
|
...st_ino 11 ( May vary slightly )
|
279 |
|
|
...st_mode 100000
|
280 |
|
|
...st_nlink 3
|
281 |
|
|
...st_uid 0
|
282 |
|
|
...st_gid 0
|
283 |
|
|
...st_rdev (0x0:0x0)
|
284 |
|
|
...st_size 0
|
285 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
286 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
287 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
288 |
|
|
stat( dir1/dir1/ file1 ) returned
|
289 |
|
|
st_dev (0x0:0x0)
|
290 |
|
|
...st_ino 12 ( May vary slightly )
|
291 |
|
|
...st_mode 100000
|
292 |
|
|
...st_nlink 3
|
293 |
|
|
...st_uid 0
|
294 |
|
|
...st_gid 0
|
295 |
|
|
...st_rdev (0x0:0x0)
|
296 |
|
|
...st_size 0
|
297 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
298 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
299 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
300 |
|
|
stat( dir1 ) returned
|
301 |
|
|
st_dev (0x0:0x0)
|
302 |
|
|
...st_ino 5 ( May vary slightly )
|
303 |
|
|
...st_mode 40700
|
304 |
|
|
...st_nlink 3
|
305 |
|
|
...st_uid 0
|
306 |
|
|
...st_gid 0
|
307 |
|
|
...st_rdev (0x0:0x0)
|
308 |
|
|
...st_size 1608
|
309 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
310 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
311 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
312 |
|
|
stat( dir2////// ) returned
|
313 |
|
|
st_dev (0x0:0x0)
|
314 |
|
|
...st_ino 6 ( May vary slightly )
|
315 |
|
|
...st_mode 40700
|
316 |
|
|
...st_nlink 3
|
317 |
|
|
...st_uid 0
|
318 |
|
|
...st_gid 0
|
319 |
|
|
...st_rdev (0x0:0x0)
|
320 |
|
|
...st_size 0
|
321 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
322 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
323 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
324 |
|
|
stat( dir3 ) returned
|
325 |
|
|
st_dev (0x0:0x0)
|
326 |
|
|
...st_ino 7 ( May vary slightly )
|
327 |
|
|
...st_mode 40700
|
328 |
|
|
...st_nlink 3
|
329 |
|
|
...st_uid 0
|
330 |
|
|
...st_gid 0
|
331 |
|
|
...st_rdev (0x0:0x0)
|
332 |
|
|
...st_size 0
|
333 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
334 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
335 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
336 |
|
|
stat( dir4 ) returned
|
337 |
|
|
st_dev (0x0:0x0)
|
338 |
|
|
...st_ino 8 ( May vary slightly )
|
339 |
|
|
...st_mode 40700
|
340 |
|
|
...st_nlink 3
|
341 |
|
|
...st_uid 0
|
342 |
|
|
...st_gid 0
|
343 |
|
|
...st_rdev (0x0:0x0)
|
344 |
|
|
...st_size 0
|
345 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
346 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
347 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
348 |
|
|
stat( dir1/dir1 ) returned
|
349 |
|
|
st_dev (0x0:0x0)
|
350 |
|
|
...st_ino 9 ( May vary slightly )
|
351 |
|
|
...st_mode 40700
|
352 |
|
|
...st_nlink 3
|
353 |
|
|
...st_uid 0
|
354 |
|
|
...st_gid 0
|
355 |
|
|
...st_rdev (0x0:0x0)
|
356 |
|
|
...st_size 536
|
357 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
358 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
359 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
360 |
|
|
stat( dir1/ dir1///\ ) returned
|
361 |
|
|
st_dev (0x0:0x0)
|
362 |
|
|
...st_ino a ( May vary slightly )
|
363 |
|
|
...st_mode 40700
|
364 |
|
|
...st_nlink 3
|
365 |
|
|
...st_uid 0
|
366 |
|
|
...st_gid 0
|
367 |
|
|
...st_rdev (0x0:0x0)
|
368 |
|
|
...st_size 0
|
369 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
370 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
371 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
372 |
|
|
stat( main.c ) returned
|
373 |
|
|
st_dev (0x0:0x0)
|
374 |
|
|
...st_ino 13 ( May vary slightly )
|
375 |
|
|
...st_mode 100000
|
376 |
|
|
...st_nlink 1
|
377 |
|
|
...st_uid 0
|
378 |
|
|
...st_gid 0
|
379 |
|
|
...st_rdev (0x0:0x0)
|
380 |
|
|
...st_size 0
|
381 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
382 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
383 |
|
|
...st_ctime Sat Dec 31 09:00:00 1988
|
384 |
|
|
chdir to dev
|
385 |
|
|
stat relative paths that are now bad
|
386 |
|
|
stat( dev ) returned : No such file or directory
|
387 |
|
|
stat( dir1///file1\// ) returned : No such file or directory
|
388 |
|
|
stat( dir1/\/file2 ) returned : No such file or directory
|
389 |
|
|
stat( dir1/file3/////\ ) returned : No such file or directory
|
390 |
|
|
stat( dir1/file4 ) returned : No such file or directory
|
391 |
|
|
stat( dir1/dir1/file1 ) returned : No such file or directory
|
392 |
|
|
stat( dir1/dir1/ file1 ) returned : No such file or directory
|
393 |
|
|
stat( dir1 ) returned : No such file or directory
|
394 |
|
|
stat( dir2////// ) returned : No such file or directory
|
395 |
|
|
stat( dir3 ) returned : No such file or directory
|
396 |
|
|
stat( dir4 ) returned : No such file or directory
|
397 |
|
|
stat( dir1/dir1 ) returned : No such file or directory
|
398 |
|
|
stat( dir1/ dir1///\ ) returned : No such file or directory
|
399 |
|
|
stat( main.c ) returned : No such file or directory
|
400 |
|
|
chdir to ../links
|
401 |
|
|
Doing the stat() on good links
|
402 |
|
|
stat( dir1/dir1/../../links/dir1 ) returned
|
403 |
|
|
st_dev (0x0:0x0)
|
404 |
|
|
...st_ino 5 ( May vary slightly )
|
405 |
|
|
...st_mode 40700
|
406 |
|
|
...st_nlink 3
|
407 |
|
|
...st_uid 0
|
408 |
|
|
...st_gid 0
|
409 |
|
|
...st_rdev (0x0:0x0)
|
410 |
|
|
...st_size 1608
|
411 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
412 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
413 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
414 |
|
|
stat( links/dir2 ) returned
|
415 |
|
|
st_dev (0x0:0x0)
|
416 |
|
|
...st_ino 6 ( May vary slightly )
|
417 |
|
|
...st_mode 40700
|
418 |
|
|
...st_nlink 3
|
419 |
|
|
...st_uid 0
|
420 |
|
|
...st_gid 0
|
421 |
|
|
...st_rdev (0x0:0x0)
|
422 |
|
|
...st_size 0
|
423 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
424 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
425 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
426 |
|
|
stat( links/dir3 ) returned
|
427 |
|
|
st_dev (0x0:0x0)
|
428 |
|
|
...st_ino 7 ( May vary slightly )
|
429 |
|
|
...st_mode 40700
|
430 |
|
|
...st_nlink 3
|
431 |
|
|
...st_uid 0
|
432 |
|
|
...st_gid 0
|
433 |
|
|
...st_rdev (0x0:0x0)
|
434 |
|
|
...st_size 0
|
435 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
436 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
437 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
438 |
|
|
stat( links/dir4 ) returned
|
439 |
|
|
st_dev (0x0:0x0)
|
440 |
|
|
...st_ino 8 ( May vary slightly )
|
441 |
|
|
...st_mode 40700
|
442 |
|
|
...st_nlink 3
|
443 |
|
|
...st_uid 0
|
444 |
|
|
...st_gid 0
|
445 |
|
|
...st_rdev (0x0:0x0)
|
446 |
|
|
...st_size 0
|
447 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
448 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
449 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
450 |
|
|
stat( links/dir1_dir1 ) returned
|
451 |
|
|
st_dev (0x0:0x0)
|
452 |
|
|
...st_ino 9 ( May vary slightly )
|
453 |
|
|
...st_mode 40700
|
454 |
|
|
...st_nlink 3
|
455 |
|
|
...st_uid 0
|
456 |
|
|
...st_gid 0
|
457 |
|
|
...st_rdev (0x0:0x0)
|
458 |
|
|
...st_size 536
|
459 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
460 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
461 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
462 |
|
|
stat( links/dir1_ dir1 ) returned
|
463 |
|
|
st_dev (0x0:0x0)
|
464 |
|
|
...st_ino a ( May vary slightly )
|
465 |
|
|
...st_mode 40700
|
466 |
|
|
...st_nlink 3
|
467 |
|
|
...st_uid 0
|
468 |
|
|
...st_gid 0
|
469 |
|
|
...st_rdev (0x0:0x0)
|
470 |
|
|
...st_size 0
|
471 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
472 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
473 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
474 |
|
|
stat( links/../links/../links/links ) returned
|
475 |
|
|
st_dev (0x0:0x0)
|
476 |
|
|
...st_ino b ( May vary slightly )
|
477 |
|
|
...st_mode 40700
|
478 |
|
|
...st_nlink 3
|
479 |
|
|
...st_uid 0
|
480 |
|
|
...st_gid 0
|
481 |
|
|
...st_rdev (0x0:0x0)
|
482 |
|
|
...st_size 6968
|
483 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
484 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
485 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
486 |
|
|
stat( links/dir1_file1 ) returned
|
487 |
|
|
st_dev (0x0:0x0)
|
488 |
|
|
...st_ino d ( May vary slightly )
|
489 |
|
|
...st_mode 100000
|
490 |
|
|
...st_nlink 3
|
491 |
|
|
...st_uid 0
|
492 |
|
|
...st_gid 0
|
493 |
|
|
...st_rdev (0x0:0x0)
|
494 |
|
|
...st_size 0
|
495 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
496 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
497 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
498 |
|
|
stat( links/dir1_file2 ) returned
|
499 |
|
|
st_dev (0x0:0x0)
|
500 |
|
|
...st_ino e ( May vary slightly )
|
501 |
|
|
...st_mode 100000
|
502 |
|
|
...st_nlink 3
|
503 |
|
|
...st_uid 0
|
504 |
|
|
...st_gid 0
|
505 |
|
|
...st_rdev (0x0:0x0)
|
506 |
|
|
...st_size 0
|
507 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
508 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
509 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
510 |
|
|
stat( links/dir1_file3 ) returned
|
511 |
|
|
st_dev (0x0:0x0)
|
512 |
|
|
...st_ino f ( May vary slightly )
|
513 |
|
|
...st_mode 100000
|
514 |
|
|
...st_nlink 3
|
515 |
|
|
...st_uid 0
|
516 |
|
|
...st_gid 0
|
517 |
|
|
...st_rdev (0x0:0x0)
|
518 |
|
|
...st_size 0
|
519 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
520 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
521 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
522 |
|
|
stat( links/dir1_file4 ) returned
|
523 |
|
|
st_dev (0x0:0x0)
|
524 |
|
|
...st_ino 10 ( May vary slightly )
|
525 |
|
|
...st_mode 100000
|
526 |
|
|
...st_nlink 3
|
527 |
|
|
...st_uid 0
|
528 |
|
|
...st_gid 0
|
529 |
|
|
...st_rdev (0x0:0x0)
|
530 |
|
|
...st_size 0
|
531 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
532 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
533 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
534 |
|
|
stat( links/dir1_dir1_f1 ) returned
|
535 |
|
|
st_dev (0x0:0x0)
|
536 |
|
|
...st_ino 11 ( May vary slightly )
|
537 |
|
|
...st_mode 100000
|
538 |
|
|
...st_nlink 3
|
539 |
|
|
...st_uid 0
|
540 |
|
|
...st_gid 0
|
541 |
|
|
...st_rdev (0x0:0x0)
|
542 |
|
|
...st_size 0
|
543 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
544 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
545 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
546 |
|
|
stat( links/dir1_dir1 f1 ) returned
|
547 |
|
|
st_dev (0x0:0x0)
|
548 |
|
|
...st_ino 12 ( May vary slightly )
|
549 |
|
|
...st_mode 100000
|
550 |
|
|
...st_nlink 3
|
551 |
|
|
...st_uid 0
|
552 |
|
|
...st_gid 0
|
553 |
|
|
...st_rdev (0x0:0x0)
|
554 |
|
|
...st_size 0
|
555 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
556 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
557 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
558 |
|
|
stat( links/links/links/links_dir1 ) returned
|
559 |
|
|
st_dev (0x0:0x0)
|
560 |
|
|
...st_ino 5 ( May vary slightly )
|
561 |
|
|
...st_mode 40700
|
562 |
|
|
...st_nlink 3
|
563 |
|
|
...st_uid 0
|
564 |
|
|
...st_gid 0
|
565 |
|
|
...st_rdev (0x0:0x0)
|
566 |
|
|
...st_size 1608
|
567 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
568 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
569 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
570 |
|
|
stat( links//links_dir2 ) returned
|
571 |
|
|
st_dev (0x0:0x0)
|
572 |
|
|
...st_ino 6 ( May vary slightly )
|
573 |
|
|
...st_mode 40700
|
574 |
|
|
...st_nlink 3
|
575 |
|
|
...st_uid 0
|
576 |
|
|
...st_gid 0
|
577 |
|
|
...st_rdev (0x0:0x0)
|
578 |
|
|
...st_size 0
|
579 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
580 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
581 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
582 |
|
|
stat( links//links_dir3 ) returned
|
583 |
|
|
st_dev (0x0:0x0)
|
584 |
|
|
...st_ino 7 ( May vary slightly )
|
585 |
|
|
...st_mode 40700
|
586 |
|
|
...st_nlink 3
|
587 |
|
|
...st_uid 0
|
588 |
|
|
...st_gid 0
|
589 |
|
|
...st_rdev (0x0:0x0)
|
590 |
|
|
...st_size 0
|
591 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
592 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
593 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
594 |
|
|
stat( links//links_dir4 ) returned
|
595 |
|
|
st_dev (0x0:0x0)
|
596 |
|
|
...st_ino 8 ( May vary slightly )
|
597 |
|
|
...st_mode 40700
|
598 |
|
|
...st_nlink 3
|
599 |
|
|
...st_uid 0
|
600 |
|
|
...st_gid 0
|
601 |
|
|
...st_rdev (0x0:0x0)
|
602 |
|
|
...st_size 0
|
603 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
604 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
605 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
606 |
|
|
stat( links//links_dir1_d1 ) returned
|
607 |
|
|
st_dev (0x0:0x0)
|
608 |
|
|
...st_ino 9 ( May vary slightly )
|
609 |
|
|
...st_mode 40700
|
610 |
|
|
...st_nlink 3
|
611 |
|
|
...st_uid 0
|
612 |
|
|
...st_gid 0
|
613 |
|
|
...st_rdev (0x0:0x0)
|
614 |
|
|
...st_size 536
|
615 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
616 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
617 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
618 |
|
|
stat( links//links_dir1 d1 ) returned
|
619 |
|
|
st_dev (0x0:0x0)
|
620 |
|
|
...st_ino a ( May vary slightly )
|
621 |
|
|
...st_mode 40700
|
622 |
|
|
...st_nlink 3
|
623 |
|
|
...st_uid 0
|
624 |
|
|
...st_gid 0
|
625 |
|
|
...st_rdev (0x0:0x0)
|
626 |
|
|
...st_size 0
|
627 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
628 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
629 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
630 |
|
|
stat( links//links_links ) returned
|
631 |
|
|
st_dev (0x0:0x0)
|
632 |
|
|
...st_ino b ( May vary slightly )
|
633 |
|
|
...st_mode 40700
|
634 |
|
|
...st_nlink 3
|
635 |
|
|
...st_uid 0
|
636 |
|
|
...st_gid 0
|
637 |
|
|
...st_rdev (0x0:0x0)
|
638 |
|
|
...st_size 6968
|
639 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
640 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
641 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
642 |
|
|
stat( links///links_d1_file1 ) returned
|
643 |
|
|
st_dev (0x0:0x0)
|
644 |
|
|
...st_ino d ( May vary slightly )
|
645 |
|
|
...st_mode 100000
|
646 |
|
|
...st_nlink 3
|
647 |
|
|
...st_uid 0
|
648 |
|
|
...st_gid 0
|
649 |
|
|
...st_rdev (0x0:0x0)
|
650 |
|
|
...st_size 0
|
651 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
652 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
653 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
654 |
|
|
stat( links///links_d1_file2 ) returned
|
655 |
|
|
st_dev (0x0:0x0)
|
656 |
|
|
...st_ino e ( May vary slightly )
|
657 |
|
|
...st_mode 100000
|
658 |
|
|
...st_nlink 3
|
659 |
|
|
...st_uid 0
|
660 |
|
|
...st_gid 0
|
661 |
|
|
...st_rdev (0x0:0x0)
|
662 |
|
|
...st_size 0
|
663 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
664 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
665 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
666 |
|
|
stat( links///links_d1_file3 ) returned
|
667 |
|
|
st_dev (0x0:0x0)
|
668 |
|
|
...st_ino f ( May vary slightly )
|
669 |
|
|
...st_mode 100000
|
670 |
|
|
...st_nlink 3
|
671 |
|
|
...st_uid 0
|
672 |
|
|
...st_gid 0
|
673 |
|
|
...st_rdev (0x0:0x0)
|
674 |
|
|
...st_size 0
|
675 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
676 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
677 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
678 |
|
|
stat( links///links_d1_file4 ) returned
|
679 |
|
|
st_dev (0x0:0x0)
|
680 |
|
|
...st_ino 10 ( May vary slightly )
|
681 |
|
|
...st_mode 100000
|
682 |
|
|
...st_nlink 3
|
683 |
|
|
...st_uid 0
|
684 |
|
|
...st_gid 0
|
685 |
|
|
...st_rdev (0x0:0x0)
|
686 |
|
|
...st_size 0
|
687 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
688 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
689 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
690 |
|
|
stat( links///links_d1_d1_f1 ) returned
|
691 |
|
|
st_dev (0x0:0x0)
|
692 |
|
|
...st_ino 11 ( May vary slightly )
|
693 |
|
|
...st_mode 100000
|
694 |
|
|
...st_nlink 3
|
695 |
|
|
...st_uid 0
|
696 |
|
|
...st_gid 0
|
697 |
|
|
...st_rdev (0x0:0x0)
|
698 |
|
|
...st_size 0
|
699 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
700 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
701 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
702 |
|
|
stat( links///links_r1_d1 f1 ) returned
|
703 |
|
|
st_dev (0x0:0x0)
|
704 |
|
|
...st_ino 12 ( May vary slightly )
|
705 |
|
|
...st_mode 100000
|
706 |
|
|
...st_nlink 3
|
707 |
|
|
...st_uid 0
|
708 |
|
|
...st_gid 0
|
709 |
|
|
...st_rdev (0x0:0x0)
|
710 |
|
|
...st_size 0
|
711 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
712 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
713 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
714 |
|
|
chmod of /dir1/dir1 to Read/Write
|
715 |
|
|
Doing the stat() on all the bad paths
|
716 |
|
|
stat( /links/ENAMETOOLONG__________________________ ) returned : File or path name too long
|
717 |
|
|
stat( /dir1/file4/NOTADIR ) returned : Not a directory
|
718 |
|
|
stat( /dir1/dir1/EACCES__ ) returned : Permission denied
|
719 |
|
|
Making file /links/ENAMETOOLONG__________________________ : File or path name too long
|
720 |
|
|
Making file /dir1/file4/NOTADIR : Not a directory
|
721 |
|
|
Making file /dir1/dir1/EACCES__ : Permission denied
|
722 |
|
|
Return /dir1/dir1 to RWX
|
723 |
|
|
Making file /symlinks/a_file_symlink
|
724 |
|
|
Verify with readlink
|
725 |
|
|
Making file /symlinks/a_dir_symlink
|
726 |
|
|
Verify with readlink
|
727 |
|
|
Making file /symlinks/a_link_symlink
|
728 |
|
|
Verify with readlink
|
729 |
|
|
Making file ../symlinks/no_file
|
730 |
|
|
Verify with readlink
|
731 |
|
|
Making file /symlinks/a_dir_symlink/a_file_symlink
|
732 |
|
|
Verify with readlink
|
733 |
|
|
Making file /symlinks/links
|
734 |
|
|
Verify with readlink
|
735 |
|
|
stat( /symlinks/a_file_symlink ) returned
|
736 |
|
|
st_dev (0x0:0x0)
|
737 |
|
|
...st_ino d ( May vary slightly )
|
738 |
|
|
...st_mode 100000
|
739 |
|
|
...st_nlink 3
|
740 |
|
|
...st_uid 0
|
741 |
|
|
...st_gid 0
|
742 |
|
|
...st_rdev (0x0:0x0)
|
743 |
|
|
...st_size 0
|
744 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
745 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
746 |
|
|
...st_ctime Sat Dec 31 09:00:10 1988
|
747 |
|
|
stat( /symlinks/a_dir_symlink ) returned
|
748 |
|
|
st_dev (0x0:0x0)
|
749 |
|
|
...st_ino 5 ( May vary slightly )
|
750 |
|
|
...st_mode 40700
|
751 |
|
|
...st_nlink 3
|
752 |
|
|
...st_uid 0
|
753 |
|
|
...st_gid 0
|
754 |
|
|
...st_rdev (0x0:0x0)
|
755 |
|
|
...st_size 1876
|
756 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
757 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
758 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
759 |
|
|
stat( /symlinks/a_link_symlink ) returned
|
760 |
|
|
st_dev (0x0:0x0)
|
761 |
|
|
...st_ino 5 ( May vary slightly )
|
762 |
|
|
...st_mode 40700
|
763 |
|
|
...st_nlink 3
|
764 |
|
|
...st_uid 0
|
765 |
|
|
...st_gid 0
|
766 |
|
|
...st_rdev (0x0:0x0)
|
767 |
|
|
...st_size 1876
|
768 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
769 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
770 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
771 |
|
|
stat( ../symlinks/no_file ) returned : No such file or directory
|
772 |
|
|
stat( /symlinks/a_dir_symlink/a_file_symlink ) returned
|
773 |
|
|
st_dev (0x0:0x0)
|
774 |
|
|
...st_ino 5 ( May vary slightly )
|
775 |
|
|
...st_mode 40700
|
776 |
|
|
...st_nlink 3
|
777 |
|
|
...st_uid 0
|
778 |
|
|
...st_gid 0
|
779 |
|
|
...st_rdev (0x0:0x0)
|
780 |
|
|
...st_size 1876
|
781 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
782 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
783 |
|
|
...st_ctime Sat Dec 31 09:00:05 1988
|
784 |
|
|
Making file 1
|
785 |
|
|
Verify with readlink
|
786 |
|
|
Making file 2
|
787 |
|
|
Verify with readlink
|
788 |
|
|
Making file 3
|
789 |
|
|
Verify with readlink
|
790 |
|
|
Making file 4
|
791 |
|
|
Verify with readlink
|
792 |
|
|
Making file 5
|
793 |
|
|
Verify with readlink
|
794 |
|
|
Making file 6
|
795 |
|
|
Verify with readlink
|
796 |
|
|
Making file 7
|
797 |
|
|
Verify with readlink
|
798 |
|
|
Making file 8
|
799 |
|
|
Verify with readlink
|
800 |
|
|
Making file 9
|
801 |
|
|
Verify with readlink
|
802 |
|
|
stat( 1 ) returned
|
803 |
|
|
st_dev (0x0:0x0)
|
804 |
|
|
...st_ino c ( May vary slightly )
|
805 |
|
|
...st_mode 40700
|
806 |
|
|
...st_nlink 1
|
807 |
|
|
...st_uid 0
|
808 |
|
|
...st_gid 0
|
809 |
|
|
...st_rdev (0x0:0x0)
|
810 |
|
|
...st_size 1340
|
811 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
812 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
813 |
|
|
...st_ctime Sat Dec 31 09:00:00 1988
|
814 |
|
|
stat( 2 ) returned
|
815 |
|
|
st_dev (0x0:0x0)
|
816 |
|
|
...st_ino c ( May vary slightly )
|
817 |
|
|
...st_mode 40700
|
818 |
|
|
...st_nlink 1
|
819 |
|
|
...st_uid 0
|
820 |
|
|
...st_gid 0
|
821 |
|
|
...st_rdev (0x0:0x0)
|
822 |
|
|
...st_size 1340
|
823 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
824 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
825 |
|
|
...st_ctime Sat Dec 31 09:00:00 1988
|
826 |
|
|
stat( 3 ) returned
|
827 |
|
|
st_dev (0x0:0x0)
|
828 |
|
|
...st_ino c ( May vary slightly )
|
829 |
|
|
...st_mode 40700
|
830 |
|
|
...st_nlink 1
|
831 |
|
|
...st_uid 0
|
832 |
|
|
...st_gid 0
|
833 |
|
|
...st_rdev (0x0:0x0)
|
834 |
|
|
...st_size 1340
|
835 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
836 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
837 |
|
|
...st_ctime Sat Dec 31 09:00:00 1988
|
838 |
|
|
stat( 4 ) returned
|
839 |
|
|
st_dev (0x0:0x0)
|
840 |
|
|
...st_ino c ( May vary slightly )
|
841 |
|
|
...st_mode 40700
|
842 |
|
|
...st_nlink 1
|
843 |
|
|
...st_uid 0
|
844 |
|
|
...st_gid 0
|
845 |
|
|
...st_rdev (0x0:0x0)
|
846 |
|
|
...st_size 1340
|
847 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
848 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
849 |
|
|
...st_ctime Sat Dec 31 09:00:00 1988
|
850 |
|
|
stat( 5 ) returned : Too many symbolic links
|
851 |
|
|
stat( 6 ) returned : Too many symbolic links
|
852 |
|
|
stat( 7 ) returned : Too many symbolic links
|
853 |
|
|
stat( 8 ) returned : Too many symbolic links
|
854 |
|
|
stat( 9 ) returned : Too many symbolic links
|
855 |
|
|
Pass an invalid mode to chmod should fail with EPERM
|
856 |
|
|
chdir to a file should fail with ENOTDIR
|
857 |
|
|
Verify RWX permission on /dir1 via access
|
858 |
|
|
chmod of /dir1 to Read/Write
|
859 |
|
|
chmod fred should fail with ENOENT
|
860 |
|
|
Create under /dir1 should fail with EACCES
|
861 |
|
|
chdir to /dir1/dir1 should fail with EACCES
|
862 |
|
|
Stat with a NULL buffer should fail with EFAULT
|
863 |
|
|
chmod of /dir1 to Read/Write
|
864 |
|
|
mkdir /dir1/BADNAME should fail with EACCESS
|
865 |
|
|
/dir1 Should exist ( access )
|
866 |
|
|
/dir1 Should have read permission( access )
|
867 |
|
|
/dir1 Should have write permission( access )
|
868 |
|
|
/dir1 Should not have execute permission( access )
|
869 |
|
|
Restore /dir1 to RWX
|
870 |
|
|
chdir to /
|
871 |
|
|
Remove /./././dir1/ dir1
|
872 |
|
|
stat( /./././dir1/ dir1 ) returned : No such file or directory
|
873 |
|
|
stat( links/dir1_ dir1 ) returned
|
874 |
|
|
st_dev (0x0:0x0)
|
875 |
|
|
...st_ino a ( May vary slightly )
|
876 |
|
|
...st_mode 40700
|
877 |
|
|
...st_nlink 2
|
878 |
|
|
...st_uid 0
|
879 |
|
|
...st_gid 0
|
880 |
|
|
...st_rdev (0x0:0x0)
|
881 |
|
|
...st_size 0
|
882 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
883 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
884 |
|
|
...st_ctime Sat Dec 31 09:00:20 1988
|
885 |
|
|
stat( links//links_dir1 d1 ) returned
|
886 |
|
|
st_dev (0x0:0x0)
|
887 |
|
|
...st_ino a ( May vary slightly )
|
888 |
|
|
...st_mode 40700
|
889 |
|
|
...st_nlink 2
|
890 |
|
|
...st_uid 0
|
891 |
|
|
...st_gid 0
|
892 |
|
|
...st_rdev (0x0:0x0)
|
893 |
|
|
...st_size 0
|
894 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
895 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
896 |
|
|
...st_ctime Sat Dec 31 09:00:20 1988
|
897 |
|
|
Chdir to links/dir1_ dir1
|
898 |
|
|
Chdir to .. should fail with ENOENT
|
899 |
|
|
mkdir ../t should fail with ENOENT
|
900 |
|
|
mkdir t
|
901 |
|
|
chdir to /
|
902 |
|
|
rmdir links/dir1_ dir1 should fail with ENOTDIR
|
903 |
|
|
unlink links/dir1_ dir1
|
904 |
|
|
unlink links//links_dir1 d1 should fail with ENOTEMPTY
|
905 |
|
|
rmdir links//links_dir1 d1/t
|
906 |
|
|
unlink links/dir1_ dir1
|
907 |
|
|
Attempting to mount IMFS file system at /dir1/my_mount_point
|
908 |
|
|
rmdir /dir1/my_mount_point should fail with EBUSY
|
909 |
|
|
Unmount /dir1/my_mount_point
|
910 |
|
|
chmod of ////dir1///file1\// to group and other execute
|
911 |
|
|
Open ////dir1///file1\// for write should fail with EACCES
|
912 |
|
|
chmod of /dir4 to User Execute and Read
|
913 |
|
|
Mkdir of /dir4/NewFile should fail with EACCES
|
914 |
|
|
Making too many hard links.
|
915 |
|
|
Making file /LinkName1
|
916 |
|
|
Making file /LinkName2
|
917 |
|
|
Making file /LinkName3
|
918 |
|
|
Making file /LinkName4
|
919 |
|
|
Making file /LinkName5
|
920 |
|
|
Making file /LinkName6
|
921 |
|
|
Making file /LinkName7
|
922 |
|
|
Making file /LinkName8
|
923 |
|
|
pass fstat a null pointer should fail with EFAULT
|
924 |
|
|
chdir to /
|
925 |
|
|
Change group of ////dir1///file1\//
|
926 |
|
|
stat( ////dir1///file1\// ) returned
|
927 |
|
|
st_dev (0x0:0x0)
|
928 |
|
|
...st_ino d ( May vary slightly )
|
929 |
|
|
...st_mode 100011
|
930 |
|
|
...st_nlink 3
|
931 |
|
|
...st_uid 0
|
932 |
|
|
...st_gid 1
|
933 |
|
|
...st_rdev (0x0:0x0)
|
934 |
|
|
...st_size 0
|
935 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
936 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
937 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
938 |
|
|
Change owner of ////dir1///file1\//
|
939 |
|
|
stat( ////dir1///file1\// ) returned
|
940 |
|
|
st_dev (0x0:0x0)
|
941 |
|
|
...st_ino d ( May vary slightly )
|
942 |
|
|
...st_mode 100011
|
943 |
|
|
...st_nlink 3
|
944 |
|
|
...st_uid 1
|
945 |
|
|
...st_gid 0
|
946 |
|
|
...st_rdev (0x0:0x0)
|
947 |
|
|
...st_size 0
|
948 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
949 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
950 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
951 |
|
|
Change group of /dir1/file2
|
952 |
|
|
stat( /dir1/file2 ) returned
|
953 |
|
|
st_dev (0x0:0x0)
|
954 |
|
|
...st_ino e ( May vary slightly )
|
955 |
|
|
...st_mode 100000
|
956 |
|
|
...st_nlink 3
|
957 |
|
|
...st_uid 0
|
958 |
|
|
...st_gid 1
|
959 |
|
|
...st_rdev (0x0:0x0)
|
960 |
|
|
...st_size 0
|
961 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
962 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
963 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
964 |
|
|
Change owner of /dir1/file2
|
965 |
|
|
stat( /dir1/file2 ) returned
|
966 |
|
|
st_dev (0x0:0x0)
|
967 |
|
|
...st_ino e ( May vary slightly )
|
968 |
|
|
...st_mode 100000
|
969 |
|
|
...st_nlink 3
|
970 |
|
|
...st_uid 1
|
971 |
|
|
...st_gid 0
|
972 |
|
|
...st_rdev (0x0:0x0)
|
973 |
|
|
...st_size 0
|
974 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
975 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
976 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
977 |
|
|
Change group of /dir1/file3
|
978 |
|
|
stat( /dir1/file3 ) returned
|
979 |
|
|
st_dev (0x0:0x0)
|
980 |
|
|
...st_ino f ( May vary slightly )
|
981 |
|
|
...st_mode 100000
|
982 |
|
|
...st_nlink 3
|
983 |
|
|
...st_uid 0
|
984 |
|
|
...st_gid 1
|
985 |
|
|
...st_rdev (0x0:0x0)
|
986 |
|
|
...st_size 0
|
987 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
988 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
989 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
990 |
|
|
Change owner of /dir1/file3
|
991 |
|
|
stat( /dir1/file3 ) returned
|
992 |
|
|
st_dev (0x0:0x0)
|
993 |
|
|
...st_ino f ( May vary slightly )
|
994 |
|
|
...st_mode 100000
|
995 |
|
|
...st_nlink 3
|
996 |
|
|
...st_uid 1
|
997 |
|
|
...st_gid 0
|
998 |
|
|
...st_rdev (0x0:0x0)
|
999 |
|
|
...st_size 0
|
1000 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1001 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1002 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1003 |
|
|
Change group of /dir1/file4
|
1004 |
|
|
stat( /dir1/file4 ) returned
|
1005 |
|
|
st_dev (0x0:0x0)
|
1006 |
|
|
...st_ino 10 ( May vary slightly )
|
1007 |
|
|
...st_mode 100000
|
1008 |
|
|
...st_nlink 3
|
1009 |
|
|
...st_uid 0
|
1010 |
|
|
...st_gid 1
|
1011 |
|
|
...st_rdev (0x0:0x0)
|
1012 |
|
|
...st_size 0
|
1013 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1014 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1015 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1016 |
|
|
Change owner of /dir1/file4
|
1017 |
|
|
stat( /dir1/file4 ) returned
|
1018 |
|
|
st_dev (0x0:0x0)
|
1019 |
|
|
...st_ino 10 ( May vary slightly )
|
1020 |
|
|
...st_mode 100000
|
1021 |
|
|
...st_nlink 3
|
1022 |
|
|
...st_uid 1
|
1023 |
|
|
...st_gid 0
|
1024 |
|
|
...st_rdev (0x0:0x0)
|
1025 |
|
|
...st_size 0
|
1026 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1027 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1028 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1029 |
|
|
Change group of /dir1/dir1/file1
|
1030 |
|
|
stat( /dir1/dir1/file1 ) returned
|
1031 |
|
|
st_dev (0x0:0x0)
|
1032 |
|
|
...st_ino 11 ( May vary slightly )
|
1033 |
|
|
...st_mode 100000
|
1034 |
|
|
...st_nlink 3
|
1035 |
|
|
...st_uid 0
|
1036 |
|
|
...st_gid 1
|
1037 |
|
|
...st_rdev (0x0:0x0)
|
1038 |
|
|
...st_size 0
|
1039 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1040 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1041 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1042 |
|
|
Change owner of /dir1/dir1/file1
|
1043 |
|
|
stat( /dir1/dir1/file1 ) returned
|
1044 |
|
|
st_dev (0x0:0x0)
|
1045 |
|
|
...st_ino 11 ( May vary slightly )
|
1046 |
|
|
...st_mode 100000
|
1047 |
|
|
...st_nlink 3
|
1048 |
|
|
...st_uid 1
|
1049 |
|
|
...st_gid 0
|
1050 |
|
|
...st_rdev (0x0:0x0)
|
1051 |
|
|
...st_size 0
|
1052 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1053 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1054 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1055 |
|
|
Change group of ../../..//dir1/./././dir1/ file1
|
1056 |
|
|
stat( ../../..//dir1/./././dir1/ file1 ) returned
|
1057 |
|
|
st_dev (0x0:0x0)
|
1058 |
|
|
...st_ino 12 ( May vary slightly )
|
1059 |
|
|
...st_mode 100000
|
1060 |
|
|
...st_nlink 3
|
1061 |
|
|
...st_uid 0
|
1062 |
|
|
...st_gid 1
|
1063 |
|
|
...st_rdev (0x0:0x0)
|
1064 |
|
|
...st_size 0
|
1065 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1066 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1067 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1068 |
|
|
Change owner of ../../..//dir1/./././dir1/ file1
|
1069 |
|
|
stat( ../../..//dir1/./././dir1/ file1 ) returned
|
1070 |
|
|
st_dev (0x0:0x0)
|
1071 |
|
|
...st_ino 12 ( May vary slightly )
|
1072 |
|
|
...st_mode 100000
|
1073 |
|
|
...st_nlink 3
|
1074 |
|
|
...st_uid 1
|
1075 |
|
|
...st_gid 0
|
1076 |
|
|
...st_rdev (0x0:0x0)
|
1077 |
|
|
...st_size 0
|
1078 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1079 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1080 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1081 |
|
|
Change group of main.c
|
1082 |
|
|
stat( main.c ) returned
|
1083 |
|
|
st_dev (0x0:0x0)
|
1084 |
|
|
...st_ino 13 ( May vary slightly )
|
1085 |
|
|
...st_mode 100000
|
1086 |
|
|
...st_nlink 1
|
1087 |
|
|
...st_uid 0
|
1088 |
|
|
...st_gid 1
|
1089 |
|
|
...st_rdev (0x0:0x0)
|
1090 |
|
|
...st_size 0
|
1091 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1092 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1093 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1094 |
|
|
Change owner of main.c
|
1095 |
|
|
stat( main.c ) returned
|
1096 |
|
|
st_dev (0x0:0x0)
|
1097 |
|
|
...st_ino 13 ( May vary slightly )
|
1098 |
|
|
...st_mode 100000
|
1099 |
|
|
...st_nlink 1
|
1100 |
|
|
...st_uid 1
|
1101 |
|
|
...st_gid 0
|
1102 |
|
|
...st_rdev (0x0:0x0)
|
1103 |
|
|
...st_size 0
|
1104 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1105 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1106 |
|
|
...st_ctime Sat Dec 31 09:00:25 1988
|
1107 |
|
|
Change group of dir1/dir1/../../links/dir1
|
1108 |
|
|
stat( dir1/dir1/../../links/dir1 ) returned
|
1109 |
|
|
st_dev (0x0:0x0)
|
1110 |
|
|
...st_ino 5 ( May vary slightly )
|
1111 |
|
|
...st_mode 40700
|
1112 |
|
|
...st_nlink 3
|
1113 |
|
|
...st_uid 0
|
1114 |
|
|
...st_gid 1
|
1115 |
|
|
...st_rdev (0x0:0x0)
|
1116 |
|
|
...st_size 1876
|
1117 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1118 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1119 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1120 |
|
|
Change owner of dir1/dir1/../../links/dir1
|
1121 |
|
|
stat( dir1/dir1/../../links/dir1 ) returned : Permission denied
|
1122 |
|
|
Change group of links/dir2
|
1123 |
|
|
stat( links/dir2 ) returned
|
1124 |
|
|
st_dev (0x0:0x0)
|
1125 |
|
|
...st_ino 6 ( May vary slightly )
|
1126 |
|
|
...st_mode 40700
|
1127 |
|
|
...st_nlink 3
|
1128 |
|
|
...st_uid 0
|
1129 |
|
|
...st_gid 1
|
1130 |
|
|
...st_rdev (0x0:0x0)
|
1131 |
|
|
...st_size 0
|
1132 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1133 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1134 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1135 |
|
|
Change owner of links/dir2
|
1136 |
|
|
stat( links/dir2 ) returned
|
1137 |
|
|
st_dev (0x0:0x0)
|
1138 |
|
|
...st_ino 6 ( May vary slightly )
|
1139 |
|
|
...st_mode 40700
|
1140 |
|
|
...st_nlink 3
|
1141 |
|
|
...st_uid 1
|
1142 |
|
|
...st_gid 0
|
1143 |
|
|
...st_rdev (0x0:0x0)
|
1144 |
|
|
...st_size 0
|
1145 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1146 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1147 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1148 |
|
|
Change group of links/dir3
|
1149 |
|
|
stat( links/dir3 ) returned
|
1150 |
|
|
st_dev (0x0:0x0)
|
1151 |
|
|
...st_ino 7 ( May vary slightly )
|
1152 |
|
|
...st_mode 40700
|
1153 |
|
|
...st_nlink 3
|
1154 |
|
|
...st_uid 0
|
1155 |
|
|
...st_gid 1
|
1156 |
|
|
...st_rdev (0x0:0x0)
|
1157 |
|
|
...st_size 0
|
1158 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1159 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1160 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1161 |
|
|
Change owner of links/dir3
|
1162 |
|
|
stat( links/dir3 ) returned
|
1163 |
|
|
st_dev (0x0:0x0)
|
1164 |
|
|
...st_ino 7 ( May vary slightly )
|
1165 |
|
|
...st_mode 40700
|
1166 |
|
|
...st_nlink 3
|
1167 |
|
|
...st_uid 1
|
1168 |
|
|
...st_gid 0
|
1169 |
|
|
...st_rdev (0x0:0x0)
|
1170 |
|
|
...st_size 0
|
1171 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1172 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1173 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1174 |
|
|
Change group of links/dir4
|
1175 |
|
|
stat( links/dir4 ) returned
|
1176 |
|
|
st_dev (0x0:0x0)
|
1177 |
|
|
...st_ino 8 ( May vary slightly )
|
1178 |
|
|
...st_mode 40500
|
1179 |
|
|
...st_nlink 3
|
1180 |
|
|
...st_uid 0
|
1181 |
|
|
...st_gid 1
|
1182 |
|
|
...st_rdev (0x0:0x0)
|
1183 |
|
|
...st_size 0
|
1184 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1185 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1186 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1187 |
|
|
Change owner of links/dir4
|
1188 |
|
|
stat( links/dir4 ) returned
|
1189 |
|
|
st_dev (0x0:0x0)
|
1190 |
|
|
...st_ino 8 ( May vary slightly )
|
1191 |
|
|
...st_mode 40500
|
1192 |
|
|
...st_nlink 3
|
1193 |
|
|
...st_uid 1
|
1194 |
|
|
...st_gid 0
|
1195 |
|
|
...st_rdev (0x0:0x0)
|
1196 |
|
|
...st_size 0
|
1197 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1198 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1199 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1200 |
|
|
Change group of links/dir1_dir1
|
1201 |
|
|
stat( links/dir1_dir1 ) returned
|
1202 |
|
|
st_dev (0x0:0x0)
|
1203 |
|
|
...st_ino 9 ( May vary slightly )
|
1204 |
|
|
...st_mode 40700
|
1205 |
|
|
...st_nlink 3
|
1206 |
|
|
...st_uid 0
|
1207 |
|
|
...st_gid 1
|
1208 |
|
|
...st_rdev (0x0:0x0)
|
1209 |
|
|
...st_size 536
|
1210 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1211 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1212 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1213 |
|
|
Change owner of links/dir1_dir1
|
1214 |
|
|
stat( links/dir1_dir1 ) returned
|
1215 |
|
|
st_dev (0x0:0x0)
|
1216 |
|
|
...st_ino 9 ( May vary slightly )
|
1217 |
|
|
...st_mode 40700
|
1218 |
|
|
...st_nlink 3
|
1219 |
|
|
...st_uid 1
|
1220 |
|
|
...st_gid 0
|
1221 |
|
|
...st_rdev (0x0:0x0)
|
1222 |
|
|
...st_size 536
|
1223 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1224 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1225 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1226 |
|
|
Change group of links/dir1_ dir1
|
1227 |
|
|
stat( links/dir1_ dir1 ) returned : No such file or directory
|
1228 |
|
|
Change owner of links/dir1_ dir1
|
1229 |
|
|
stat( links/dir1_ dir1 ) returned : No such file or directory
|
1230 |
|
|
Change group of links/../links/../links/links
|
1231 |
|
|
stat( links/../links/../links/links ) returned
|
1232 |
|
|
st_dev (0x0:0x0)
|
1233 |
|
|
...st_ino b ( May vary slightly )
|
1234 |
|
|
...st_mode 40700
|
1235 |
|
|
...st_nlink 3
|
1236 |
|
|
...st_uid 0
|
1237 |
|
|
...st_gid 1
|
1238 |
|
|
...st_rdev (0x0:0x0)
|
1239 |
|
|
...st_size 8844
|
1240 |
|
|
...st_atime Sat Dec 31 09:00:00 1988
|
1241 |
|
|
...st_mtime Sat Dec 31 09:00:00 1988
|
1242 |
|
|
...st_ctime Sat Dec 31 09:00:30 1988
|
1243 |
|
|
Change owner of links/../links/../links/links
|
1244 |
|
|
stat( links/../links/../links/links ) returned : Permission denied
|
1245 |
|
|
*** END OF STAT TEST 01 ***
|