[Coco] attr has me stumped

Robert Gault robert.gault at att.net
Tue Oct 22 17:34:42 EDT 2019


Maybe I have a different help message but it seems very clear to me.

Syntax: Attr filename [<opts>] [<perms>]
Usage : Examine or change the security permissions of a file
Opts  :
   -perm = turn off specified permission
    perm = turn on specified permission
   -a = inhibit printing of attrs after change
Perms :
   d - directory file
   s - non-sharable file
   r - read permit to owner
   w - write permit to owner
   e - execute permit to owner
   pr - read permit to public
   pw - write permit to public
   pe - execute permit to public

"Perm" is defined by a list. Clearly you don't use "perm" itself but must pick an item from the list 
of permission types.

Robert


More information about the Coco mailing list