IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17767


Ignore:
Timestamp:
May 21, 2008, 3:49:39 PM (18 years ago)
Author:
jhoblitt
Message:

require xattar names to be in the user namespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/bin/neb-xattr

    r17766 r17767  
    33# Copyright (C) 2008  Joshua Hoblitt
    44#
    5 # $Id: neb-xattr,v 1.3 2008-05-22 01:45:08 jhoblitt Exp $
     5# $Id: neb-xattr,v 1.4 2008-05-22 01:49:39 jhoblitt Exp $
    66
    77use strict;
     
    110110        die "can not process $arg because it is not in name:value form"
    111111            unless defined $name and defined $value;
     112        die "xattr name: $name is not in to the form user.name"
     113            unless $name =~ /^user\./;
    112114        $neb->setxattr($key, $name, $value, "replace")
    113115            or die $neb->err;
Note: See TracChangeset for help on using the changeset viewer.