IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24521


Ignore:
Timestamp:
Jun 19, 2009, 3:36:06 PM (17 years ago)
Author:
jhoblitt
Message:

silence directory permission warning

Location:
trunk/Nebulous-Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r24500 r24521  
    439439                    unless $parent_id;
    440440
    441                 $db->commit;
     441#                $db->commit;
    442442            }
    443443        };
     
    20762076        my $mode = [$self->_retry(sub { stat($storage_path) } )]->[2] & 07777;
    20772077        unless ($mode == 0775) {
    2078             $log->error("$storage_path has the wrong permissions of: 0", sprintf("%o", $mode));
     2078            # XXX: this problem is so common that it's flooding the logs
     2079            $log->debug("$storage_path has the wrong permissions of: 0", sprintf("%o", $mode));
    20792080            $self->_retry(sub { chmod(0775, $storage_path) })
    20802081                or die("can not chmod() $storage_path: $!");
  • trunk/Nebulous-Server/scripts/dirize.pl

    r24508 r24521  
    3737
    3838# initial directory fill in
    39 my $work_query = $db->prepare_cached("SELECT so_id, ext_id, dir_id FROM storage_object AS so WHERE so.dir_id = 0 LIMIT 10000");
     39my $work_query = $db->prepare_cached("SELECT so_id, ext_id, dir_id FROM storage_object AS so WHERE so.dir_id = 0 LIMIT 1000");
    4040
    4141my $update_query = $db->prepare_cached("UPDATE storage_object SET ext_id_basename = ?, dir_id = ? WHERE so_id = ?");
Note: See TracChangeset for help on using the changeset viewer.