--- tar-1.28.old/gnu/modechange.c +++ tar-1.28/gnu/modechange.c @@ -50,6 +50,10 @@ #define XOTH 00001 #define ALLM 07777 /* all octal mode bits */ +#ifndef S_IRWXUGO +#define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) +#endif + /* Convert OCTAL, which uses one of the traditional octal values, to an internal mode_t value. */ static mode_t