DistinctFormatAttribs.txt 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. Note that this was an expiriment I conducted with the Distinct FTP Server by playing around with
  2. the file attributes on " readme.txt".
  3. Note for security reasons, I have altered the pathes recorded and also the local address reported
  4. by the server.
  5. ===
  6. c:\Distinct\jpmugaas>ftp 127.0.0.1
  7. Connected to 127.0.0.1.
  8. 220 *************** Distinct TCP/IP FTP Server ready.
  9. User (127.0.0.1:(none)): jpmugaas
  10. 331 Password required for jpmugaas.
  11. Password:
  12. 230 User jpmugaas logged in.
  13. ftp> cd jpmugaas
  14. 200 CWD to '/jpmugaas' okay.
  15. ftp> dir
  16. 200 PORT command okay.
  17. 150 Opening data connection.
  18. -wa-- 60 Dec 29,2002 7:00 readme.txt
  19. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  20. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  21. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  22. d---- 0 Dec 29,2002 6:51 test
  23. 226 Transfer complete.
  24. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  25. ftp> !
  26. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  27. c:\Distinct\jpmugaas>attrib " readme.txt" +r
  28. c:\Distinct\jpmugaas>exit
  29. ftp> dir
  30. 200 PORT command okay.
  31. 150 Opening data connection.
  32. --a-- 60 Dec 29,2002 7:00 readme.txt
  33. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  34. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  35. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  36. d---- 0 Dec 29,2002 6:51 test
  37. 226 Transfer complete.
  38. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  39. ftp> !
  40. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  41. c:\Distinct\jpmugaas>attrib " readme.txt" +s
  42. c:\Distinct\jpmugaas>exit
  43. ftp> dir
  44. 200 PORT command okay.
  45. 150 Opening data connection.
  46. --as- 60 Dec 29,2002 7:00 readme.txt
  47. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  48. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  49. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  50. d---- 0 Dec 29,2002 6:51 test
  51. 226 Transfer complete.
  52. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  53. ftp> !
  54. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  55. c:\Distinct\jpmugaas>dir
  56. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  57. Directory of c:\Distinct\jpmugaas
  58. 12/29/2002 01:42p <DIR> .
  59. 12/29/2002 01:42p <DIR> ..
  60. 12/29/2002 01:56a 7,665 01-BG-980.pdf
  61. 04/27/2002 09:45p 520,750 15585_sample_application.zip
  62. 12/29/2002 01:42p 23 CreateTest.txt
  63. 12/29/2002 01:51a <DIR> test
  64. 3 File(s) 528,438 bytes
  65. 3 Dir(s) 37,677,455,360 bytes free
  66. c:\Distinct\jpmugaas>attribute " readme.txt" +h
  67. 'attribute' is not recognized as an internal or external command,
  68. operable program or batch file.
  69. c:\Distinct\jpmugaas>attrib " readme.txt" +h
  70. Not resetting system file - c:\Distinct\jpmugaas\ Readme.txt
  71. c:\Distinct\jpmugaas>attrib " readme.txt" -s
  72. c:\Distinct\jpmugaas>attrib " readme.txt" +h
  73. c:\Distinct\jpmugaas>exit
  74. ftp> dir
  75. 200 PORT command okay.
  76. 150 Opening data connection.
  77. --a-h 60 Dec 29,2002 7:00 readme.txt
  78. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  79. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  80. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  81. d---- 0 Dec 29,2002 6:51 test
  82. 226 Transfer complete.
  83. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  84. ftp> exit
  85. Invalid command.
  86. ftp> quit
  87. 221 Goodbye.
  88. c:\Distinct\jpmugaas>ftp 127.0.0.1
  89. Connected to 127.0.0.1.
  90. 220 *************** Distinct TCP/IP FTP Server ready.
  91. User (127.0.0.1:(none)): jpmugaas
  92. 331 Password required for jpmugaas.
  93. Password:
  94. 230 User jpmugaas logged in.
  95. ftp> cd jpmugaas
  96. 200 CWD to '/jpmugaas' okay.
  97. ftp> dir
  98. 200 PORT command okay.
  99. 150 Opening data connection.
  100. --a-h 60 Dec 29,2002 7:00 readme.txt
  101. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  102. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  103. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  104. d---- 0 Dec 29,2002 6:51 test
  105. 226 Transfer complete.
  106. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  107. ftp> !
  108. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  109. c:\Distinct\jpmugaas>attrib " readme.txt" -h -a
  110. c:\Distinct\jpmugaas>exit
  111. ftp> dir
  112. 200 PORT command okay.
  113. 150 Opening data connection.
  114. ----- 60 Dec 29,2002 7:00 readme.txt
  115. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  116. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  117. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  118. d---- 0 Dec 29,2002 6:51 test
  119. 226 Transfer complete.
  120. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  121. ftp> !
  122. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  123. c:\Distinct\jpmugaas>attrib " readme.txt" +a
  124. c:\Distinct\jpmugaas>exit
  125. ftp> dir
  126. 200 PORT command okay.
  127. 150 Opening data connection.
  128. --a-- 60 Dec 29,2002 7:00 readme.txt
  129. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  130. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  131. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  132. d---- 0 Dec 29,2002 6:51 test
  133. 226 Transfer complete.
  134. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  135. ftp> !
  136. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  137. c:\Distinct\jpmugaas>attrib " readme.txt" -r
  138. c:\Distinct\jpmugaas>exit
  139. ftp> dir
  140. 200 PORT command okay.
  141. 150 Opening data connection.
  142. -wa-- 60 Dec 29,2002 7:00 readme.txt
  143. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  144. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  145. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  146. d---- 0 Dec 29,2002 6:51 test
  147. 226 Transfer complete.
  148. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  149. ftp> quit
  150. 221 Goodbye.
  151. c:\Distinct\jpmugaas>
  152. ===
  153. Conclusion, the attribute part of the dir listing is tied to the original file attributes
  154. in Win32 like this:
  155. w - can write
  156. a - archive bit
  157. s - system file
  158. h - hidden file
  159. Now with the directory, test:
  160. ===
  161. c:\Distinct\jpmugaas>ftp 127.0.0.1
  162. Connected to 127.0.0.1.
  163. 220 *************** Distinct TCP/IP FTP Server ready.
  164. User (127.0.0.1:(none)): jpmugaas
  165. 331 Password required for jpmugaas.
  166. Password:
  167. 230 User jpmugaas logged in.
  168. ftp> dir
  169. 200 PORT command okay.
  170. 150 Opening data connection.
  171. d---- 0 Apr 1,1995 9:00 jpmugaas
  172. d---- 0 Apr 1,1995 9:00 test
  173. 226 Transfer complete.
  174. ftp: 94 bytes received in 0.02Seconds 4.70Kbytes/sec.
  175. ftp> cd jpmugaas
  176. 200 CWD to '/jpmugaas' okay.
  177. ftp> dir
  178. 200 PORT command okay.
  179. 150 Opening data connection.
  180. --a-h 60 Dec 29,2002 7:00 readme.txt
  181. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  182. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  183. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  184. d---- 0 Dec 29,2002 6:51 test
  185. 226 Transfer complete.
  186. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  187. ftp> !
  188. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  189. c:\Distinct\jpmugaas>attrib test +r
  190. c:\Distinct\jpmugaas>exit
  191. ftp> dir
  192. 200 PORT command okay.
  193. 150 Opening data connection.
  194. --a-h 60 Dec 29,2002 7:00 readme.txt
  195. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  196. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  197. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  198. d---- 0 Dec 29,2002 6:51 test
  199. 226 Transfer complete.
  200. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  201. ftp> !
  202. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  203. c:\Distinct\jpmugaas>attrib test -r +h
  204. c:\Distinct\jpmugaas>exit
  205. ftp> dir
  206. 200 PORT command okay.
  207. 150 Opening data connection.
  208. --a-h 60 Dec 29,2002 7:00 readme.txt
  209. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  210. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  211. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  212. d---- 0 Dec 29,2002 6:51 test
  213. 226 Transfer complete.
  214. ftp: 275 bytes received in 0.02Seconds 13.75Kbytes/sec.
  215. ftp> !
  216. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  217. c:\Distinct\jpmugaas>attrib test -h +s
  218. c:\Distinct\jpmugaas>exit
  219. ftp> dir
  220. 200 PORT command okay.
  221. 150 Opening data connection.
  222. --a-h 60 Dec 29,2002 7:00 readme.txt
  223. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  224. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  225. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  226. d---- 0 Dec 29,2002 6:51 test
  227. 226 Transfer complete.
  228. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  229. ftp> !
  230. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  231. c:\Distinct\jpmugaas>attrib test -s
  232. c:\Distinct\jpmugaas>exit
  233. ftp> dir
  234. 200 PORT command okay.
  235. 150 Opening data connection.
  236. --a-h 60 Dec 29,2002 7:00 readme.txt
  237. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  238. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  239. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  240. d---- 0 Dec 29,2002 6:51 test
  241. 226 Transfer complete.
  242. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  243. ftp> !
  244. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  245. c:\Distinct\jpmugaas>attrib test +a
  246. c:\Distinct\jpmugaas>exit
  247. ftp> dir
  248. 200 PORT command okay.
  249. 150 Opening data connection.
  250. --a-h 60 Dec 29,2002 7:00 readme.txt
  251. -wa-- 7665 Dec 29,2002 6:56 01-bg-980.pdf
  252. -wa-- 520750 Apr 28,2002 2:45 15585_sample_application.zip
  253. -wa-- 23 Dec 29,2002 18:42 createtest.txt
  254. d---- 0 Dec 29,2002 6:51 test
  255. 226 Transfer complete.
  256. ftp: 275 bytes received in 0.01Seconds 27.50Kbytes/sec.
  257. ftp> quit
  258. 221 Goodbye.
  259. c:\Distinct\jpmugaas>
  260. ===
  261. Conclusion, the dir stuff does not change with attributes.
  262. Now, lets move onto the Unix format. Again, we play with the attributes in " readme.txt":
  263. ===
  264. c:\Distinct\jpmugaas>ftp 127.0.0.1
  265. Connected to 127.0.0.1.
  266. 220 *************** Distinct TCP/IP FTP Server ready.
  267. User (127.0.0.1:(none)): jpmugaas
  268. 331 Password required for jpmugaas.
  269. Password:
  270. 230 User jpmugaas logged in.
  271. ftp> cd jpmugaas
  272. 200 CWD to '/jpmugaas' okay.
  273. ftp> dir
  274. 200 PORT command okay.
  275. 150 Opening data connection.
  276. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  277. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  278. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  279. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  280. d--------- 1 owner group 0 Dec 29 6:51 test
  281. 226 Transfer complete.
  282. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  283. ftp> !
  284. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  285. c:\Distinct\jpmugaas>attrib " readme.txt" +r
  286. c:\Distinct\jpmugaas>exit
  287. ftp> dir
  288. 200 PORT command okay.
  289. 150 Opening data connection.
  290. --a------- 1 owner group 60 Dec 29 7:00 readme.txt
  291. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  292. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  293. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  294. d--------- 1 owner group 0 Dec 29 6:51 test
  295. 226 Transfer complete.
  296. ftp: 350 bytes received in 0.03Seconds 11.67Kbytes/sec.
  297. ftp> ! attrib " readme.txt" -r -a
  298. File not found - readme.txt
  299. ftp> !
  300. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  301. c:\Distinct\jpmugaas>attrib " readme.txt" -r -a
  302. c:\Distinct\jpmugaas>exit
  303. ftp> dir
  304. 200 PORT command okay.
  305. 150 Opening data connection.
  306. -w-------- 1 owner group 60 Dec 29 7:00 readme.txt
  307. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  308. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  309. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  310. d--------- 1 owner group 0 Dec 29 6:51 test
  311. 226 Transfer complete.
  312. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  313. ftp> !
  314. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  315. c:\Distinct\jpmugaas>attrib " readme.txt" +a +s
  316. c:\Distinct\jpmugaas>exit
  317. ftp> dir
  318. 200 PORT command okay.
  319. 150 Opening data connection.
  320. -was------ 1 owner group 60 Dec 29 7:00 readme.txt
  321. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  322. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  323. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  324. d--------- 1 owner group 0 Dec 29 6:51 test
  325. 226 Transfer complete.
  326. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  327. ftp> !
  328. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  329. c:\Distinct\jpmugaas>attrib " readme.txt" -s +h
  330. c:\Distinct\jpmugaas>exit
  331. ftp> dir
  332. 200 PORT command okay.
  333. 150 Opening data connection.
  334. -wa-h----- 1 owner group 60 Dec 29 7:00 readme.txt
  335. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  336. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  337. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  338. d--------- 1 owner group 0 Dec 29 6:51 test
  339. 226 Transfer complete.
  340. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  341. ftp> !
  342. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  343. c:\Distinct\jpmugaas>attrib " readme.txt" -h
  344. c:\Distinct\jpmugaas>exit
  345. ftp> dir
  346. 200 PORT command okay.
  347. 150 Opening data connection.
  348. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  349. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  350. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  351. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  352. d--------- 1 owner group 0 Dec 29 6:51 test
  353. 226 Transfer complete.
  354. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  355. ftp> quit
  356. 221 Goodbye.
  357. c:\Distinct\jpmugaas>
  358. ===
  359. Conclusion, this server is mistakenly reporting the MS-DOS attributes instead of proper Unix permissions.
  360. Now let's repeat the tests with the test dir.
  361. ===
  362. c:\Distinct\jpmugaas>ftp 127.0.0.1
  363. Connected to 127.0.0.1.
  364. 220 *************** Distinct TCP/IP FTP Server ready.
  365. User (127.0.0.1:(none)): jpmugaas
  366. 331 Password required for jpmugaas.
  367. Password:
  368. 230 User jpmugaas logged in.
  369. ftp> cd jpmugaas
  370. 200 CWD to '/jpmugaas' okay.
  371. ftp> dir
  372. 200 PORT command okay.
  373. 150 Opening data connection.
  374. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  375. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  376. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  377. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  378. d--------- 1 owner group 0 Dec 29 6:51 test
  379. 226 Transfer complete.
  380. ftp: 350 bytes received in 0.02Seconds 17.50Kbytes/sec.
  381. ftp> !
  382. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  383. c:\Distinct\jpmugaas>attrib test +r
  384. c:\Distinct\jpmugaas>exit
  385. ftp> dir
  386. 200 PORT command okay.
  387. 150 Opening data connection.
  388. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  389. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  390. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  391. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  392. d--------- 1 owner group 0 Dec 29 6:51 test
  393. 226 Transfer complete.
  394. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  395. ftp> !
  396. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  397. c:\Distinct\jpmugaas>attrib test -r -a
  398. c:\Distinct\jpmugaas>exit
  399. ftp> dir
  400. 200 PORT command okay.
  401. 150 Opening data connection.
  402. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  403. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  404. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  405. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  406. d--------- 1 owner group 0 Dec 29 6:51 test
  407. 226 Transfer complete.
  408. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  409. ftp> !
  410. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  411. c:\Distinct\jpmugaas>attrib test +a +h
  412. c:\Distinct\jpmugaas>exit
  413. ftp> dir
  414. 200 PORT command okay.
  415. 150 Opening data connection.
  416. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  417. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  418. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  419. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  420. d--------- 1 owner group 0 Dec 29 6:51 test
  421. 226 Transfer complete.
  422. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  423. ftp> !
  424. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  425. c:\Distinct\jpmugaas>attrib test -h +s
  426. c:\Distinct\jpmugaas>dir
  427. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  428. Directory of c:\Distinct\jpmugaas
  429. 12/29/2002 01:42p <DIR> .
  430. 12/29/2002 01:42p <DIR> ..
  431. 12/29/2002 02:00a 60 Readme.txt
  432. 12/29/2002 01:56a 7,665 01-BG-980.pdf
  433. 04/27/2002 09:45p 520,750 15585_sample_application.zip
  434. 12/29/2002 01:42p 23 CreateTest.txt
  435. 4 File(s) 528,498 bytes
  436. 2 Dir(s) 37,682,504,704 bytes free
  437. c:\Distinct\jpmugaas>exit
  438. ftp> dir
  439. 200 PORT command okay.
  440. 150 Opening data connection.
  441. -wa------- 1 owner group 60 Dec 29 7:00 readme.txt
  442. -wa------- 1 owner group 7665 Dec 29 6:56 01-bg-980.pdf
  443. -wa------- 1 owner group 520750 Apr 28 2:45 15585_sample_application.zip
  444. -wa------- 1 owner group 23 Dec 29 18:42 createtest.txt
  445. d--------- 1 owner group 0 Dec 29 6:51 test
  446. 226 Transfer complete.
  447. ftp: 350 bytes received in 0.01Seconds 35.00Kbytes/sec.
  448. ftp> !
  449. [Removed at Stephane Grob?ty's request because of a false alarm with SNORT]
  450. c:\Distinct\jpmugaas>attrib test -s
  451. c:\Distinct\jpmugaas>exit
  452. ftp> quit
  453. 221 Goodbye.
  454. c:\Distinct\jpmugaas>
  455. ===
  456. Conclusion, attributes do not effect the "Unix permissions" being reported. Again, let me point out that
  457. the permissions are not valid Unix permissions at all.