Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
Hi, the following function: ACL ADD/APPEND FILE, "device:[test]*.*", "*groupname", "RE" ------------------ objnam-sym does not work as expected because the ACE is only added to the fist file in the directory and not to ALL files. Looking at the documentation it seems that there're not restrictions about the objnam symbol. Have you any ideas, suggestions ? Many many thanks in advance. Bye Graziella
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3098.1 | Just use FOR FILE$ loop | IOSG::CHINNICK | gone walkabout | Wed Aug 04 1993 16:12 | 14 |
I would not expect ACL to handle wildcards. Maybe it isn't spelt out in the documentation, but I think wildcards are the exception and not the rule with most things in ALL-IN-1. To use ACL and put an ACE on all the files in a directory, I'd suggest using a FOR loop on the FILE$ data-set. Something like: FOR FILE$ WITH .SPEC EQS "disk:[directory]*.*" DO - ACL ADD/APPEND FILE, .%KEY, "*groupname", "RE" That should do what you need from within a script. Paul. |