Sets permissions on Linux automatically listening inotify create and modify events