CVS: ispman/lib delete_domain_directories.lib,1.2,1.3 delete_home_directory.lib,1.2,1.3
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv6226
Modified Files:
delete_domain_directories.lib delete_home_directory.lib
Log Message:
# comment 2. Not all find has the uid and gid switches
Index: delete_domain_directories.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/delete_domain_directories.lib,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** delete_domain_directories.lib 18 Sep 2003 14:36:55 -0000 1.2
--- delete_domain_directories.lib 18 Sep 2003 14:38:47 -0000 1.3
***************
*** 12,15 ****
--- 12,18 ----
# DEVVELOPERS PLEASE NOTE. THIS COMMAND IS DANGEROUS
# Please find something else
+
+ # comment 2. Not all find has the uid and gid switches
+
my $command="find $home_directory -depth -uid $owner -gid $group -type d -exec rm -rf {} \\;";
#print STDERR "$command\n";
Index: delete_home_directory.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/delete_home_directory.lib,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** delete_home_directory.lib 18 Sep 2003 14:36:55 -0000 1.2
--- delete_home_directory.lib 18 Sep 2003 14:38:47 -0000 1.3
***************
*** 14,17 ****
--- 14,19 ----
# DEVVELOPERS PLEASE NOTE. THIS COMMAND IS DANGEROUS
# Please find something else
+ # comment 2. Not all find has the uid and gid switches
+
my $command="find $home_directory -depth -uid $owner -gid $group -type d -exec rm -rf {} \\;";
system($command);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf