Correct octal value for permissions

This commit is contained in:
Víctor Román Archidona 2014-07-24 13:30:02 +02:00
parent faae5c77ee
commit 0fcdb68e81

View file

@ -53,8 +53,8 @@ int main(int argc, char * argv[])
_encriptar(0,argv[1],la_clave);
_comprimir(0,argv[1]);
rename(argv[1],el_stub);
#ifdef __linux__
chmod(el_stub,493); // -rwxr-xr-x
#if defined(__linux__) || defined(__APPLE__)
chmod(el_stub,755); // -rwxr-xr-x
#endif
}
printf("STUB_SIZE: %d\n",stub_size);