аватар on5fydu8@gmail.com · 01.01.1970 03:00

How to implement confirmation of a record or reading in the folder?

Hello! How can I control the folder in the Python code?
For example: I follow the/Home/Igor/Desktop, when I try to make anything with the folder/file in the folder, I get a request: some kind of program is trying to make something in such a file/folder, and then either reject it.
Cachyos (arch-bassed)
How can I do this?

аватар on5fydu8@gmail.com · 01.01.1970 03:00

emnip, at the user level you can only subscribe to changes in folders/files (Inotify or Systemd/Path). To prohibit something, you need to interfere in the work of the file system, here the python will not help you.

Latest

Similar