} else {
$owner = 'root';
}
+ $ownerl = strtolower($owner);
if (!is_link($dump_path.'/'.$owner)) {
- symlink($partition_path.'/'.substr($owner,0,1).'/'.$owner, $dump_path.'/'.$owner);
+ symlink($partition_path.'/'.substr($ownerl,0,1).'/'.$owner, $dump_path.'/'.$owner);
}
if (!is_dir(readlink($dump_path.'/'.$owner))) {
mkdir(readlink($dump_path.'/'.$owner));
if (!isset($logs[$filsys_type]))
$logs[$filsys_type] = fopen('/mit/sql/.backup/'.$filsys_type, 'w');
+ $locker = strtolower($locker);
fwrite($logs[$filsys_type], "$locker\n");
switch($filsys_type) {