[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

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

1574.0. "Add identifier with ACL$" by AIMTEC::BUTLER_T () Wed Oct 07 1992 20:55

    I am working with a customer trying to add a *general identifier*
    to a file.  ACL ADD does not do general identifiers thus, he turned
    to ACL$.
    
    
    RIGHTS ADD_IDENT "ICI_IDENT"
    GET #TEMP = "[000000]BOWLERBC.DIR"
    WRITE ADD ACL$:#TEMP IDENTIFIER="ICI_IDENT",READ="Y",WRITE="Y"
    
    When I try this I get
    
    %OA-W-ACL_NOT_WRITTEN, Error closing ACL$ data set, access control not
    modified
    
    From looking at authorize, the identifier is being created but not
    added to the ACL on [000000]BOWLERBC.DIR.
    
    MODE defaults to 0.  oa$acl_repair is 0.
    
    From other notes in this conference it appears I can write with 
    ACL$.  Is this true in all cases or are there built-in limitations?
    Also, does this error message imply an access or protection problem?
    
    Any help, questions, appreciated,
    
    
    Tim
    
T.RTitleUserPersonal
Name
DateLines
1574.1IOSG::MAURICESee belowThu Oct 08 1992 10:2212
    Hi,
    
    I think the only general identifiers that ACL and ACL$ supports are
    those beginning with OA$. So if you could rename ICI_IDENT to
    OA$ICI_IDENT you would be in business. You would need an * prefix, as
    for example in:
    
    WRITE ADD ACL$:#TEMP IDENTIFIER="*OA$ICI_IDENT",READ="Y",WRITE="Y"
    
    Cheers
    
    Stuart