IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2009, 5:12:12 PM (17 years ago)
Author:
jhoblitt
Message:

apply user.mode values to replicated instances

File:
1 edited

Legend:

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

    r24291 r24294  
    741741
    742742    # check to see if the user.mode xattr exists
     743    eval {
     744        my $mode = $self->getxattr_object("$key", 'user.mode');
     745        if (defined $mode) {
     746            $self->chmod_object("$key", $mode);
     747        }
     748    };
     749    if ($@) {
     750        unless ($@ =~ qr/user.mode does not exist/) {
     751            $log->logdie("error: $@");
     752        }
     753    }
    743754
    744755    $log->debug("leaving");
Note: See TracChangeset for help on using the changeset viewer.