|Johann Schmitz c8d1997e72 Fixed imports, added setup.py||il y a 5 ans|
|doc||il y a 5 ans|
|src/permwatcher||il y a 5 ans|
|.gitignore||il y a 5 ans|
|LICENSE.txt||il y a 5 ans|
|README.md||il y a 5 ans|
|setup.py||il y a 5 ans|
chmod 777 “because it solves the problem”.
chmoding a file to 777 not only opens a big security hole, but also cause any other file system permission bits to be dropped (
777 is actually
0777 which drops the setgid bit for example).
I finally gave up explaining why its bad to do
chmod 777 and decided to just reset the permissions.
[webroots] directories = /var/www
directories option takes a space-separated list of directories to watch for changes.
exclude: Space-separated glob patterns. Objects matching one of these patterns will be ignored by pyinotify.
remove_file_masks: Name of masks from the stat module to remove from files. Defaults to
S_IXUSR S_IXGRP S_IWOTH S_IXOTH
remove_dir_masks: Name of masks from the stat module to remove from directories. Defaults to
keep_setgid: re-add the setgid bit if it is set on the parent directory
keep_setuid: re-add the setuid bit if it is set on the parent directory