This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this function correctly deals with four digit octals , unlike most other scripts | |
#When the octal is 4 digits long, the first digit is a setuid, setguid or sticky flag. | |
#See here for more info: https://linuxize.com/post/chmod-command-in-linux/ | |
#and here: https://en.wikipedia.org/wiki/File_system_permissions#Notation_of_traditional_Unix_permissions | |
#examples: | |
#print(perm_to_text('3777')) | |
#rwxrwsrwt | |
#print(perm_to_text('2775')) | |
#rwxrwsr-x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to compile AVRA https://github.com/Ro5bert/avra | |
with MS Visual Studio 2019 | |
New Project > Console Application > C++ | |
(create it empty without any files) | |
Import all .c and .h files from AVRA src folder | |
In file.c, you will need to change line | |
#include <unistd.h> into: |