view src/save-acls.c @ 27:738745bfa17b

remove broken files.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 15:21:57 +0000
parents 4d1bc23e4d09
children
line wrap: on
line source
1 #include <unistd.h>
2 #include <stdio.h>
4 main( int argc, char ** argv){
5 setreuid(geteuid(), geteuid());
6 setregid(getegid(), getegid());
7 printf("saving acls to /etc/acls\n");
8 system("getfacl -R /usr /opt /etc > /etc/acls");
9 }