From 2c053e75d44016dd6b07649a356c1ce55dbe1028 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 22 Dec 2010 15:03:48 +0100 Subject: walk_tree: do not follow symlink to directory with -h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reported by Jean-Pierre André at https://bugzilla.redhat.com/660613 --- test/attr.test | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/attr.test') diff --git a/test/attr.test b/test/attr.test index d394562..4a14c2f 100644 --- a/test/attr.test +++ b/test/attr.test @@ -217,6 +217,14 @@ Attributes of symlinks vs. the files pointed to $ rm f +Attributes of symlinks vs. the files pointed to in a directory + + $ mkdir src + $ touch src/target + $ setfattr -n user.color -v blue src/target + $ ln -s src symlink + $ getfattr -n user.color -h symlink 2>/dev/null + Tests for file name that contain special characters $ touch "f " -- cgit v1.2.3