databases handling tools chmod, chgrp, chown, ls

This commit is contained in:
2019-01-21 09:13:03 -05:00
parent 2fb12410ea
commit ea59731e1f
6 changed files with 244 additions and 25 deletions
+33
View File
@@ -58,6 +58,39 @@ echo "- absec_ls"
gcc absec_ls.c `mysql_config --cflags --libs` -o abls
echo "Running test"
./abls
./abls /
echo "================"
echo "Compiling absec tools"
echo "- absec_chmod"
gcc absec_chmod.c `mysql_config --cflags --libs` -o abchmod
echo "Running test"
./abchmod 0 /
./abls /
./abchmod 666 /
./abls /
echo "================"
echo "Compiling absec tools"
echo "- absec_chown"
gcc absec_chown.c `mysql_config --cflags --libs` -o abchown
echo "Running test"
./abchown 100 /
./abls /
./abchown 200 /
./abls /
echo "================"
echo "Compiling absec tools"
echo "- absec_chgrp"
gcc absec_chgrp.c `mysql_config --cflags --libs` -o abchgrp
echo "Running test"
./abchgrp 100 /
./abls /
./abchgrp 200 /
./abls /
exit
echo "================"
echo "Compiling apache absec module"