Changeset 24521
- Timestamp:
- Jun 19, 2009, 3:36:06 PM (17 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 2 edited
-
lib/Nebulous/Server.pm (modified) (2 diffs)
-
scripts/dirize.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r24500 r24521 439 439 unless $parent_id; 440 440 441 $db->commit;441 # $db->commit; 442 442 } 443 443 }; … … 2076 2076 my $mode = [$self->_retry(sub { stat($storage_path) } )]->[2] & 07777; 2077 2077 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)); 2079 2080 $self->_retry(sub { chmod(0775, $storage_path) }) 2080 2081 or die("can not chmod() $storage_path: $!"); -
trunk/Nebulous-Server/scripts/dirize.pl
r24508 r24521 37 37 38 38 # 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 1000 0");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 1000"); 40 40 41 41 my $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.
