=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfsflag.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/tcfs/Attic/tcfsflag.c 2000/06/18 22:07:24 1.1 +++ src/usr.bin/tcfs/Attic/tcfsflag.c 2000/06/19 01:36:17 1.2 @@ -35,6 +35,9 @@ int fd; tcfs_flags i; + seteuid(getuid()); + setuid(getuid()); + if (argc < 3) { fprintf (stderr, "tcfsflags {r,x,g} file\n\n"); exit(1); @@ -66,9 +69,9 @@ break; } - i = tcfs_setflags(fd,i); + i = tcfs_setflags(fd, i); if (i.flag == -1) { - fprintf(stderr,"setflags error\n"); + fprintf(stderr, "setflags error\n"); exit(1); } close(fd);