[fix] chmod action requiring a SQL change + lost action global reference in m_bro
This commit is contained in:
parent
4cfa0d3603
commit
6b033580c9
|
@ -556,7 +556,7 @@ class m_bro {
|
|||
* @return boolean TRUE Si les fichiers ont t renomms, FALSE si une erreur s'est produite.
|
||||
*/
|
||||
function ChangePermissions($R,$d,$perm,$verbose=false) {
|
||||
global $err;
|
||||
global $err, $action;
|
||||
$absolute=$this->convertabsolute($R,false);
|
||||
if (!$absolute) {
|
||||
$err->raise("bro",_("File or folder name is incorrect"));
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE `actions` CHANGE `type` `type` ENUM('CREATE_FILE','FIX_USER','CREATE_DIR','DELETE','MOVE','FIX_DIR','FIX_FILE','CHMOD') DEFAULT NULL ;
|
||||
|
Loading…
Reference in New Issue