home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12994 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.6 KB  |  43 lines

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!PUCAL.BITNET!RW764419
  2. From: RW764419@PUCAL.BITNET ("Robert Alan Whitaker, Jr.")
  3. Newsgroups: comp.os.vms
  4. Subject: sys$change_acl()
  5. Message-ID: <1A0B5F2C41DF20041D@PUCAL.BITNET>
  6. Date: 31 Jul 92 06:57:00 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 32
  10.  
  11. Hi there,
  12.  
  13.         For some time now, I have been trying to get the sys$change_acl system
  14. function to work, and have been unsuccessful.  I have succeeded in creating
  15. new files with ACL's attached to them, using sys$create(), but I would also
  16. like to be able to change current files.  I believe that my problem lies in
  17. the itmlst parameter of the sys$change_acl() function, but I haven't been able
  18. to figure it out, nor have I been able to find a description of the itmlst
  19. structure, other than what it says in one of the manuals, which says that it
  20. should contain: code (word), buflen (word), bufadr (long word), and unused
  21. (long word), which led me to believe that it should be of the following
  22. format:
  23.  
  24. struct itmlst {
  25.         unsigned int code;
  26.         unsigned int buflen;
  27.         unsigned long int bufadr;  /* or char *bufadr; */
  28.         unsigned long int unused;  /* or char *unused; */
  29.         };
  30.  
  31. I have not been able to get this and many other (my version number is about
  32. 220 now) variations to work.
  33.  
  34. Does anyone know the correct syntax for this?
  35.  
  36. Does anyone have an example in C that they could send me???
  37.  
  38. If so, any help, or suggestions would be much appreciated.....
  39.  
  40.                 Robert Alan Whitaker, Jr.
  41.                 RW764419@PUCAL.BITNET
  42.  
  43.