#include <errno.h>
#include <fcntl.h>
#include <fts.h>
#include <locale.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
char *mode;
mode_t newmode;
setlocale(LC_ALL,"");
set = NULL;
Hflag = Lflag = Rflag = fflag = hflag = vflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfghorstuvwx")) != -1)