Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Search disk for files having any ACL

Go to solution
Jeremy Begg
Trusted Contributor

Search disk for files having any ACL


I'm in the process of consolidating three AlphaServers into one (a new one). The same application runs on each and the configuration of each is similar, but there are enough differences to make it "interesting".

One of the problems I've got is to reconcile three sets of RIGHTSLIST.DAT into one. I've prepared a spreadsheet listing them all with their values and highlighted any clashes (e.g. multiple identifiers having same value, or multiple values for the same identifier).

To make moving files to the new system as simple as possible I'd like to preserve any ACLs they might have, and this in turn means ensuring the relevant identifiers get created with the same values on the new system as they had on the old.

To that end, I'd like to compile a list of all files which have an ACL. I thought I could do this with DFU but it will only search for files having a particular identifier in an ACE; it doesn't appear to allow a search for "all files referring any identifier in an ACE".

Aside from doing $ DIR/SEC disk:[000000...] on each system, is there a more efficient way of getting this information?

(Note that for this exercise I don't really care what the ACLs are, I just need to know the identifiers referenced therein.)

Jeremy Begg
Joseph Huber_1
Honored Contributor

Re: Search disk for files having any ACL

Have a look into this thread:

Basically You have two options

use a program like the GETACL I have pointed to in the above thread.
Jeremy Begg
Trusted Contributor

Re: Search disk for files having any ACL

$ DIR/SELECT=ACL does the job for me.