You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check if project contains a non-empty recipe.json file, then ok
if [ -s recipe.json ]
then# The file is not-empty.# proceedelse# The file is empty.echo"recipe.json is empty! Please fill it properly before initiating. Documentation, soon"fi
Prompt to input a unique project name/id; check if it doesn't already exist (jq -r '.projects[].name | index( "" )' recipe.json | tail -n 1), then ok
Add this project to Plugz list of projects and the dependencies+versions
Watch this project's folder when its moved: sudo auditctl -a always,exit -F arch=b64 -S rename,rmdir,unlink,unlinkat,renameat -F dir=/path/to/folder/to/monitor -F key=PLUGZ_PROJNAME
Prompt to input a unique project name/id; check if it doesn't already exist (
jq -r '.projects[].name | index( "" )' recipe.json | tail -n 1
), then okAdd this project to Plugz list of projects and the dependencies+versions
Watch this project's folder when its moved:
sudo auditctl -a always,exit -F arch=b64 -S rename,rmdir,unlink,unlinkat,renameat -F dir=/path/to/folder/to/monitor -F key=PLUGZ_PROJNAME
mkdir include
01 ignore include
ausearch -k PLUGZ_PROJNAME
sudo echo "-a always,exit -F arch=b64 -S rename,rmdir,unlink,unlinkat,renameat -F dir=/path/to/folder/to/monitor -F key=PLUGZ_PROJNAME" >> /etc/audit/audit.rules
https://serverfault.com/questions/1072998/how-to-monitor-when-a-file-folder-is-moved-and-where-it-moved-to?newreg=876bb061e82f40dd8f2c050639a05da5The text was updated successfully, but these errors were encountered: