Skip to content

denys-hrulov/DirAcC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Directory Access Checker

1. Overview

Directory access checker for linux systems:

  1. Takes some directory as argument.
  2. Checks if the given folder exists. If no, tries to create it.
  3. Checks if program has permissions to create files int the directory.
  4. Checks if another instance of application is already using the directory.
  5. If another instance of application is already using the directory returns -1.

Note: program is for linux systems.

To run execute the following:

2. Running the program

To run execute the following:

cd dir_with_exe
./DirAcC dir_to_lock

where dir_with_exe is a directory where the executable is located
, and dir_to_lock is a directory you want to lock and check.

3. Building from source

Requirements:

cmake and compiler supporting C++17.

To build execute the following:

git clone https://github.com/denhrulyov/DirAcC
cd DirAcC
cmake .
cmake --build .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors