home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!PUCAL.BITNET!RW764419
- From: RW764419@PUCAL.BITNET ("Robert Alan Whitaker, Jr.")
- Newsgroups: comp.os.vms
- Subject: sys$change_acl()
- Message-ID: <1A0B5F2C41DF20041D@PUCAL.BITNET>
- Date: 31 Jul 92 06:57:00 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 32
-
- Hi there,
-
- For some time now, I have been trying to get the sys$change_acl system
- function to work, and have been unsuccessful. I have succeeded in creating
- new files with ACL's attached to them, using sys$create(), but I would also
- like to be able to change current files. I believe that my problem lies in
- the itmlst parameter of the sys$change_acl() function, but I haven't been able
- to figure it out, nor have I been able to find a description of the itmlst
- structure, other than what it says in one of the manuals, which says that it
- should contain: code (word), buflen (word), bufadr (long word), and unused
- (long word), which led me to believe that it should be of the following
- format:
-
- struct itmlst {
- unsigned int code;
- unsigned int buflen;
- unsigned long int bufadr; /* or char *bufadr; */
- unsigned long int unused; /* or char *unused; */
- };
-
- I have not been able to get this and many other (my version number is about
- 220 now) variations to work.
-
- Does anyone know the correct syntax for this?
-
- Does anyone have an example in C that they could send me???
-
- If so, any help, or suggestions would be much appreciated.....
-
- Robert Alan Whitaker, Jr.
- RW764419@PUCAL.BITNET
-
-