# US 2014/0156712 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/0156712 A1
- Document ID: US20140156712A1
- Status: Published application
- Kind: A1
- Application number: 13/690,537
- Filed: 2012-11-30
- Published: 2014-06-05
- Earliest claimed: 2012-11-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corp
- Inventors: Prashanth S. Krishna
- Web page: https://patentgrep.com/patent/US20140156712A1

## 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 at position 1

-8. (canceled)

### Claim 9

A system, comprising:
a memory; and
a processor programmed to:
provide a directory operational block data structure within the memory 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;
attach, within the directory operational block data structure, a first program to execute in response to a specified directory event; and
execute, at the operating-system level, the attached first program in response to detection of the specified directory event.

### Claim 10 (depends on 9)

The system of claim 9, where in being programmed to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the processor is programmed to attach the first program to execute in response to the specified directory event in an order specified by a first execution sequence identifier and the processor is further programmed to:
attach, 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 11 (depends on 10)

The system of claim 10, where in being programmed to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the processor is programmed to execute 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 12 (depends on 9)

The system of claim 9, where in being programmed to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the processor is programmed to:
assign the first program to a position in the directory operational block data structure associated with an execution sequence identifier; and
map the first program to a directory event trigger within the directory operational block data structure that identifies the specified directory event.

### Claim 13 (depends on 9)

The system of claim 9, 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 in being programmed to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the processor is programmed to:
determine a user identifier of a user issuing a configuration command for the directory operational block data structure;
determine 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
attach, 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 14 (depends on 9)

The system of claim 9, where in being programmed to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the processor is programmed to execute the attached first program at the operating-system level in one of a safe mode and a journaled mode.

### Claim 15 (depends on 9)

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

### Claim 16 (depends on 9)

The system of claim 9, where in being programmed to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the processor is programmed to:
determine whether execution of programs identified within the directory operational block data structure is enabled; and
execute the attached first program in response to determining that the execution of programs within the directory operational block data structure is enabled.

### Claim 17

A computer program product, comprising:
a computer readable storage medium having computer readable program code embodied therewith, where the computer readable program code when executed on a computer causes the computer to:
provide 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;
attach, within the directory operational block data structure, a first program to execute in response to a specified directory event; and
execute, at the operating-system level, the attached first program in response to detection of the specified directory event.

### Claim 18 (depends on 17)

The computer program product of claim 17, where in causing the computer to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the computer readable program code when executed on the computer causes the computer to attach the first program to execute in response to the specified directory event in an order specified by a first execution sequence identifier and the computer readable program code when executed on the computer further causes the computer to:
attach, 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 19 (depends on 18)

The computer program product of claim 18, where in causing the computer to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the computer readable program code when executed on the computer causes the computer to execute 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 20 (depends on 17)

The computer program product of claim 17, where in causing the computer to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the computer readable program code when executed on the computer causes the computer to:
assign the first program to a position in the directory operational block data structure associated with an execution sequence identifier; and
map the first program to a directory event trigger within the directory operational block data structure that identifies the specified directory event.

### Claim 21 (depends on 17)

The computer program product of claim 17, 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 in causing the computer to attach, within the directory operational block data structure, the first program to execute in response to the specified directory event, the computer readable program code when executed on the computer causes the computer to:
determine a user identifier of a user issuing a configuration command for the directory operational block data structure;
determine 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
attach, 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 22 (depends on 17)

The computer program product of claim 17, where in causing the computer to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the computer readable program code when executed on the computer causes the computer to execute the attached first program at the operating-system level in one of a safe mode and a journaled mode.

### Claim 23 (depends on 17)

The computer program product of claim 17, where the attached first program comprises a script and where in causing the computer to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the computer readable program code when executed on the computer causes the computer to:
validate that the script is compliant with scripting requirements for an operating system executed within the operating-system level; and
execute the script in response to the script being validated as compliant with scripting requirements for the operating system.

### Claim 24 (depends on 17)

The computer program product of claim 17, where in causing the computer to execute, at the operating-system level, the attached first program in response to the detection of the specified directory event, the computer readable program code when executed on the computer causes the computer to:
determine whether execution of programs identified within the directory operational block data structure is enabled; and
execute the attached first program in response to determining that the execution of programs within the directory operational block data structure is enabled.
