diff options
author | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-06-29 01:53:02 +0000 |
---|---|---|
committer | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-06-29 01:53:02 +0000 |
commit | 309153bd278d482770e147d737d6abd678184ce7 (patch) | |
tree | acb3afba1be7723b7c8e554876981363683212ee /net/misc/monkeysphere/monkeysphere-0.24.diff | |
parent | 15ad80e50dd6d1ec00472c31e0e6a435949cdaf6 (diff) | |
download | mkbuilds-309153bd278d482770e147d737d6abd678184ce7.tar.gz mkbuilds-309153bd278d482770e147d737d6abd678184ce7.tar.bz2 |
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
Diffstat (limited to 'net/misc/monkeysphere/monkeysphere-0.24.diff')
-rw-r--r-- | net/misc/monkeysphere/monkeysphere-0.24.diff | 15 |
1 files changed, 15 insertions, 0 deletions
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 |