home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
disks
/
tools
/
chmod
/
chmod.doc
< prev
next >
Wrap
Text File
|
1996-01-29
|
2KB
|
84 lines
Chmod is a u*nix like protection util.
OUTPUT:
Usage: chmod protection/a file [all]
protection is a 4 digit hex number:
The first digit stands for Amiga bits: Uspa
The second digit stands for: rwed owner
The third digit stands for: rwed group
The fourth Digit stands for: rwed other
You will have to use a 4 digit hex number to set the protection for a file.
If you do not have multiuser the last 2 digits are ignored!
Only errors are displayed in the output.
THE DIGITS:
The first digit stands for the amiga bits: Uspa
0: 0000 none set
1: 0001 A set
2: 0010 P set
4: 0100 S set
8: 1000 U set
F: 1111 USPA all set.
and any combination
the second to the last digit:
these digits set file rights:
0: 0000 none set
1: 0001 D set
2: 0010 E set
4: 0100 W set
8: 1000 R set
F: 1111 RWED set
and any combination
OPTIONS:
[ALL] if this option is given, the complete treestructure with the given path
and wildcard setting will be protected, according to the standard
commodore wildcard rules.
EXAMPLES:
chmod 0FA0 sys:system/format
format 13368 ----rwedr-e----- 06-Jul-94 root [root]
chmod 0FAA c:dir
dir 3440 ----rwedr-e-r-e- 06-Jul-94 root [root]
chmod 4F88 batchfile
batchfile 365 -s--rwedr---r--- 06-Jul-94 root [root]
chmod 8faa massign
MAssign 2544 u---r-e-r-e-r-e- 02-Jul-94 root [root]
chmod 0f88 sys:fonts all
Requirements:
AmigaOS 2.04 (V37.175) or higher
AUTHOR:
E-Mail:zander@hio.hen.nl
S-MAIL:Thomas Zander
Veldspaat 3
1703 EJ Heerhugowaard
Holland
LEGAL STUFF:
(c) Copyright 1995,1996 Thomas Zander
This software is freeware: you may copy it and injoy it's use, but if you
use it for an extended period of time you must send me a postcard or an
Email!!
No warranties of any kind are made as to the functionality of this program.
You are using it at your own risk.