Operating System - OpenVMS
1753943 Members
8976 Online
108811 Solutions
New Discussion юеВ

Re: How to identify objects that have an ACL.

 
SOLVED
Go to solution
Joseph Huber_1
Honored Contributor

Re: How to identify objects that have an ACL.


I just tested the GETACL routine (using Arnes fortran test program provided with acl.mar), and it works (just needs to remove the "IV" from the register save masks on Alpha (and IA64 ).

To get a program for the task the OP wants to do, a simple loop can be programmed:

lib$find_file() with the (wildcard-) filename
getacl() for each file found.

http://www.mpp.mpg.de/~huber
Ian Miller.
Honored Contributor

Re: How to identify objects that have an ACL.

you can use DFU SEARCH/ACE to search for files with a acl containing a specified identifier

http://www.digiater.nl/dfu.html
____________________
Purely Personal Opinion
Shriniketan Bhagwat
Trusted Contributor

Re: How to identify objects that have an ACL.

Hi,

Yes, you can use DFU SEARCH/ACE to search the files which have an ACE containing the specific identifier. The format is shown as below.

DFU SEARCH/ACE=identifier

Please refer the below link for more help on DFU usage and its qualifiers.

http://www.digiater.nl/downloads/dfu032.pdf


Regards,
Ketan
The Brit
Honored Contributor
Solution

Re: How to identify objects that have an ACL.

Try

$ dir /select=ACL []

(never used it myself)

Dave
The Brit
Honored Contributor

Re: How to identify objects that have an ACL.

The "dir /select=ACL" does not allow searching for a specific ACL. It will however list all files which have an ACL (and assuming you have the privilege, it will display the ACL also).

If you do not have privilege, it lists the files but does not show the ACL's.

Dave.
Joseph Huber_1
Honored Contributor

Re: How to identify objects that have an ACL.

I did a quick hack using the above ACL.MAR in a fortran program, if You like it, it is at
http://wwwvms.mpp.mpg.de/~huber/util/main/

fetch the files
getacl.FPP,getacl_cli_table.cld,make_getacl.com

or the executable
http://wwwvms.mpp.mpg.de/vms$common/exe/getacl.EXE

for Alpha VMS 7.3-1+ .

$├В getacl/help
GETACL/IDENT=identifier filenamelist

$ getacl/ident=huber [...]
DISK$HUBER:[HUBER.util.main]address.tmp;1 Ident: HUBER Access: RWEDC
DISK$HUBER:[HUBER.util.main]tmp.tmp;1 Ident: HUBER Access: RWEDC
http://www.mpp.mpg.de/~huber
djk
Advisor

Re: How to identify objects that have an ACL.

Information was very helpfull.