Author: nhosoi
Update of /cvs/dirsec/mod_restartd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24321/mod_restartd
Modified Files:
mod_restartd.c
Log Message:
Resolves: #251090
Summary: ds_remove cannot remove/rename directories (comment #7)
Change: let ds_remove (CGI) run with the root permission.
Index: mod_restartd.c
===================================================================
RCS file: /cvs/dirsec/mod_restartd/mod_restartd.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mod_restartd.c 17 Nov 2005 17:44:44 -0000 1.4
+++ mod_restartd.c 27 Sep 2007 16:55:31 -0000 1.5
@@ -839,7 +839,7 @@
}
}
- regcomp(&uriPat,
"/.*/tasks/operation/(start|restart|stop|startconfigds|create)$",
+ regcomp(&uriPat,
"/.*/tasks/operation/(start|restart|stop|startconfigds|create|remove)$",
REG_EXTENDED|REG_NOSUB|REG_ICASE);
return OK;