X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fselacl01.at;h=6c1dcf33e4f6288fd5c095af2ff0a00c3ce7d052;hb=3de5db2a1511a8fa2b17a933ccee70ae20fd588b;hp=60f106b421b7df836ea7856d6ea256baa80448c4;hpb=085cace1805308589c6211429068f68047be0b0e;p=chaz%2Ftar diff --git a/tests/selacl01.at b/tests/selacl01.at index 60f106b..6c1dcf3 100644 --- a/tests/selacl01.at +++ b/tests/selacl01.at @@ -1,18 +1,20 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # # Test suite for GNU tar. -# Copyright (C) 2011 Free Software Foundation, Inc. -# -# This program is free software; you can redistribute it and/or modify +# Copyright 2011, 2013 Free Software Foundation, Inc. + +# This file is part of GNU tar. + +# GNU tar is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +# GNU tar is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# + # You should have received a copy of the GNU General Public License # along with this program. If not, see . # @@ -36,6 +38,7 @@ MINOR=$( stat /dev/urandom --printf="%T" ) mknod dir/chartype c $MAJOR $MINOR # setup attributes +restorecon -R dir chcon -h --user=system_u dir/fifo chcon -h --user=system_u dir/chartype setfacl -m u:$UID:--- dir/fifo