Operating System - OpenVMS
1752679 Members
5798 Online
108789 Solutions
New Discussion юеВ

Re: Search disk for files having any ACL

 
SOLVED
Go to solution
Jeremy Begg
Trusted Contributor

Search disk for files having any ACL

Hi,

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.)

Thanks,
Jeremy Begg
2 REPLIES 2
Joseph Huber_1
Honored Contributor
Solution

Re: Search disk for files having any ACL

Have a look into this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1438566

Basically You have two options

DIRECTORY/SELECT=ACL
or
use a program like the GETACL I have pointed to in the above thread.
http://www.mpp.mpg.de/~huber
Jeremy Begg
Trusted Contributor

Re: Search disk for files having any ACL

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

Thanks!
Jeremy