home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 033 / atcp40de.zip / CH_CHMOD.DOC < prev    next >
Text File  |  1994-10-15  |  1KB  |  54 lines

  1.  
  2. NAME
  3.     ch_chmod
  4.  
  5. SYNOPSIS
  6.     ch_chmod [ugoa][+|-|=][uhsparwed][,Flags][,Flags] FILES/A/M ALL/S
  7.  
  8. DESCRIPTION
  9.     Change file permissions for given file, recursively if flag 
  10.     ALL is present.
  11.     The file permissions are divided in 3 groups:
  12.  
  13.         u    user
  14.         g    group
  15.         o    others
  16.  
  17.     "a" is a synonym for "ugo".
  18.  
  19.     The following are legal modifiers
  20.  
  21.         +    set the corresponding flags
  22.         -    reset the corresponding flags
  23.         =    set to the given flags
  24.  
  25.     
  26.     The following flags are possible: 
  27.     (Not all are present on all file systems or are legal in all 
  28.      permission groups.
  29.      Illegal combinations are silently ignored.)
  30.  
  31.         u    user:    setuid bit (unix, multiuser fs, bffs (?))
  32.             group:    setgid bit (unix, bffs (?))
  33.             others:    sticky bit (unix, bffs (?))
  34.         h        hidden     (amiga)
  35.         s        script     (amiga)
  36.         p        pure     (amiga)
  37.         a        archive (amiga)
  38.         r        read
  39.         w        write
  40.         e        execute
  41.         d        delete
  42.  
  43. BUGS
  44.     When removing the write permission on NFS partitions you have to specify
  45.     both "w" and "d".
  46.  
  47. $Id: ch_chmod.doc,v 1.1 1994/03/06 21:52:21 alph Exp $
  48.     
  49.         
  50.     
  51.  
  52.     
  53.     
  54.