# US 2014/0156717 A1 · Operating system control of directory events with dynamic program execution

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0156717 A1
- Document ID: US20140156717A1
- Status: Published application
- Kind: A1
- Application number: 14/057,683
- Filed: 2013-10-18
- Published: 2014-06-05
- Earliest claimed: 2012-11-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Prashanth S. Krishna
- Web page: https://patentgrep.com/patent/US20140156717A1

## CPC

- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A directory operational block data structure is provided by a processor within a memory. The directory operational block data structure allows configuration of a directory of a file system, at an operating-system level, with at least one executable program to be executed in response to configurable operating-system level directory events associated with the directory. A first program is attached within the directory operational block data structure to execute in response to a specified directory event. The attached first program is executed at the operating-system level in response to detection of the specified directory event.

## Claims

### Claim 1

A method, comprising:
providing, via a processor within a memory, a directory operational block data structure that allows configuration of a directory of a file system at an operating-system level with at least one executable program to be executed in response to configurable operating-system level directory events associated with the directory;
attaching, within the directory operational block data structure, a first program to execute in response to a specified directory event; and
executing, at the operating-system level, the attached first program in response to detection of the specified directory event.

### Claim 2 (depends on 1)

The method of claim 1, where attaching, within the directory operational block data structure, the first program to execute in response to the specified directory event comprises attaching the first program to execute in response to the specified directory event in an order specified by a first execution sequence identifier and further comprising:
attaching, within the directory operational block data structure, a second program to execute in response to the specified directory event in an order specified by a second execution sequence identifier.

### Claim 3 (depends on 2)

The method of claim 2, where executing, at the operating-system level, the attached first program in response to the detection of the specified directory event comprises executing the attached first program in a sequence with the attached second program based upon the order specified by the first and second execution sequence identifiers.

### Claim 4 (depends on 1)

The method of claim 1, where attaching, within the directory operational block data structure, the first program to execute in response to the specified directory event comprises:
assigning the first program to a position in the directory operational block data structure associated with an execution sequence identifier; and
mapping the first program to a directory event trigger within the directory operational block data structure that identifies the specified directory event.

### Claim 5 (depends on 1)

The method of claim 1, where the directory operational block data structure is configurable with at least one permission criterion for authorization to attach programs to the directory operational block data structure for execution in response to directory events and where attaching, within the directory operational block data structure, the first program to execute in response to the specified directory event comprises:
determining a user identifier of a user issuing a configuration command for the directory operational block data structure;
determining whether the identified user has permission to attach the programs to the directory operational block data structure based upon the at least one permission criterion; and
attaching, within the directory operational block data structure, the first program to execute in response to the specified directory event in response to determining that the user has permission to attach the programs to the directory operational block data structure

### Claim 6 (depends on 1)

The method of claim 1, where executing, at the operating-system level, the attached first program in response to the detection of the specified directory event comprises executing the attached first program at the operating-system level in one of a safe mode and a journaled mode.

### Claim 7 (depends on 1)

The method of claim 1, where the attached first program comprises a script and where executing, at the operating-system level, the attached first program in response to the detection of the specified directory event comprises:
validating that the script is compliant with scripting requirements for an operating system executed within the operating-system level; and
executing the script in response to the script being validated as compliant with scripting requirements for the operating system.

### Claim 8 (depends on 1)

The method of claim 1, where executing, at the operating-system level, the attached first program in response to the detection of the specified directory event comprises:
determining whether execution of programs identified within the directory operational block data structure is enabled; and
executing the attached first program in response to determining that the execution of programs within the directory operational block data structure is enabled.
