Browse Prior Art Database

Recursively Delete Access Control Profiles for a Directory Path

IP.com Disclosure Number: IPCOM000106764D
Original Publication Date: 1993-Dec-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 2 page(s) / 83K

Publishing Venue

IBM

Related People

Callaway, JR: AUTHOR [+3]

Abstract

The IBM OS/2 LAN Server* product does not provide the capability to recursively delete all the access control profiles of a directory path and every path below it. The Lan Server Full Screen Interface (FSI) and Command Line Interface (CLI) administration do not have a function that allows a LAN administrator to delete the access control profiles of a directory and all its subdirectories in one operation.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 57% of the total text.

Recursively Delete Access Control Profiles for a Directory Path

      The IBM OS/2 LAN Server* product does not provide the
capability to recursively delete all the access control profiles of a
directory path and every path below it.  The Lan Server Full Screen
Interface (FSI) and Command Line Interface (CLI) administration do
not have a function that allows a LAN administrator to delete the
access control profiles of a directory and all its subdirectories in
one operation.

      Add a new switch '/deltree' to the NET ACCESS command which
will recursively delete the access control profiles of a specified
directory path and all the sub-directories below it.

The syntax of the new switch will be as follows:

     NET ACCESS dirpath /deltree

     where

     dirpath    Specifies the directory path that will be used as the
                basepath for deleting all the access control
profiles.

The algorithm for the /deltree switch is as follows:

     if /deltree is specified

       Recursive Function:

       Call DosFindFirst for 'dirpath' to get 'max' (100) directory
       and file (DF) entr

       if (error and error is not ERROR_NO_MORE_FILES)
           return error.

       endif

       for each DF entry in the buffer

           if DF entry is a file

               call NetAccessDel if an access control profile exists
               for this file.

  ...