From 309153bd278d482770e147d737d6abd678184ce7 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 29 Jun 2009 01:53:02 +0000 Subject: monkeysphere: adding patch for symlink deference on permission/ownership test git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@493 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/misc/monkeysphere/monkeysphere-0.24.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/misc/monkeysphere/monkeysphere-0.24.diff (limited to 'net/misc/monkeysphere/monkeysphere-0.24.diff') diff --git a/net/misc/monkeysphere/monkeysphere-0.24.diff b/net/misc/monkeysphere/monkeysphere-0.24.diff new file mode 100644 index 0000000..f7be544 --- /dev/null +++ b/net/misc/monkeysphere/monkeysphere-0.24.diff @@ -0,0 +1,15 @@ +diff -Naur monkeysphere-0.24.orig/src/share/common monkeysphere-0.24/src/share/common +--- monkeysphere-0.24.orig/src/share/common 2009-03-03 14:02:00.000000000 -0300 ++++ monkeysphere-0.24/src/share/common 2009-06-28 22:39:37.000000000 -0300 +@@ -415,6 +415,11 @@ + uname="$1" + path="$2" + ++ # rewrite path if it points to a symlink ++ if [ -h "$path" ] ; then ++ path="`readlink $path`" ++ fi ++ + log debug "checking path permission '$path'..." + + # return 255 if cannot stat file -- cgit v1.2.3