home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / disks / tools / chmod / chmod.doc < prev    next >
Text File  |  1996-01-29  |  2KB  |  84 lines

  1. Chmod is a u*nix like protection util.
  2.  
  3. OUTPUT:
  4.  
  5. Usage: chmod protection/a file [all]
  6.  
  7. protection is a 4 digit hex number:
  8.  The first digit stands for Amiga bits: Uspa
  9.  The second digit stands for: rwed owner
  10.  The third digit stands for: rwed group
  11.  The fourth Digit stands for: rwed other
  12.  
  13. You will have to use a 4 digit hex number to set the protection for a file.
  14.  
  15. If you do not have multiuser the last 2 digits are ignored!
  16.  
  17. Only errors are displayed in the output.
  18.  
  19. THE DIGITS:
  20.  
  21. The first digit stands for the amiga bits: Uspa
  22. 0: 0000    none set
  23. 1: 0001 A set
  24. 2: 0010 P set
  25. 4: 0100 S set
  26. 8: 1000 U set
  27. F: 1111 USPA all set.
  28.  
  29. and any combination
  30.  
  31. the second to the last digit:
  32. these digits set file rights:
  33. 0: 0000 none set
  34. 1: 0001 D set
  35. 2: 0010 E set
  36. 4: 0100 W set
  37. 8: 1000 R set
  38. F: 1111 RWED set
  39.  
  40. and any combination
  41.  
  42.  
  43. OPTIONS:
  44.  
  45. [ALL] if this option is given, the complete treestructure with the given path
  46.       and wildcard setting will be protected, according to the standard
  47.       commodore wildcard rules.
  48.  
  49.  
  50. EXAMPLES:
  51.  
  52. chmod 0FA0 sys:system/format 
  53.   format                            13368 ----rwedr-e----- 06-Jul-94 root [root]
  54. chmod 0FAA c:dir
  55.   dir                                3440 ----rwedr-e-r-e- 06-Jul-94 root [root]
  56. chmod 4F88 batchfile
  57.   batchfile                           365 -s--rwedr---r--- 06-Jul-94 root [root]
  58. chmod 8faa massign
  59.   MAssign                            2544 u---r-e-r-e-r-e- 02-Jul-94 root [root]
  60. chmod 0f88 sys:fonts all
  61.  
  62. Requirements:
  63.     AmigaOS 2.04 (V37.175) or higher
  64.  
  65.  
  66. AUTHOR:
  67.  
  68.     E-Mail:zander@hio.hen.nl
  69.  
  70.     S-MAIL:Thomas Zander
  71.            Veldspaat 3
  72.            1703 EJ Heerhugowaard
  73.            Holland
  74.  
  75. LEGAL STUFF:
  76.  
  77. (c) Copyright 1995,1996 Thomas Zander
  78. This software is freeware:  you may copy it and injoy it's use, but if you
  79. use it for an extended period of time you must send me a postcard or an
  80. Email!!
  81.  
  82. No warranties of any kind are made as to the functionality of this program.
  83. You are using it at your own risk.
  84.