adding CHMOD to actions + fixing Permission bits not properly set
This commit is contained in:
		
							parent
							
								
									719c4502e8
								
							
						
					
					
						commit
						f135d17e20
					
				|  | @ -572,7 +572,7 @@ class m_bro { | ||||||
| 	if ($perm[$i]['w']) { | 	if ($perm[$i]['w']) { | ||||||
| 	  $m=$m | 0220; // ug+w
 | 	  $m=$m | 0220; // ug+w
 | ||||||
| 	} else { | 	} else { | ||||||
| 	  $m=$m ^ 0222; // ugo-w
 | 	  $m=$m & (~ 0222); // ugo-w
 | ||||||
| 	} | 	} | ||||||
|         $action->chmod($absolute."/".$d[$i], $m); |         $action->chmod($absolute."/".$d[$i], $m); | ||||||
| 	if ($verbose) { | 	if ($verbose) { | ||||||
|  |  | ||||||
|  | @ -3,3 +3,7 @@ | ||||||
| UPDATE domaines_type SET compatibility='' where name='cname'; | UPDATE domaines_type SET compatibility='' where name='cname'; | ||||||
| UPDATE domaines_type SET compatibility=REPLACE(compatibility, 'cname,',''); | UPDATE domaines_type SET compatibility=REPLACE(compatibility, 'cname,',''); | ||||||
| 
 | 
 | ||||||
|  | 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
	
	 Benjamin Sonntag
						Benjamin Sonntag