Why Linux has file permissions? In short – for security reasons. Linux by design is a multi-user operating system. But if any user could access and modify all files, including those belonging to other users or system files, this would…
Tag: file system
With class abstraction It is a follow up for my previous post on monitoring the file system for changes using Python and cross-platform library watchdog. In the post, I mentioned that it would be nice to abstract the code into…
Monitoring the filesystem for changes using Python and watchdog. Watchdog cross platform library allows to detect changes made to files in the directory. There are options to specify patterns for files (think extensions) and set recursive flag for tracking changes…