diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-06-29 01:52:56 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-06-29 01:52:56 +0000 |
commit | 3fa16f38206f91e182b4dd17c51453522aec669e (patch) | |
tree | e40a0ec5072250b8b6b2fef4a5ae2d3731a17e43 /net/misc/monkeysphere/monkeysphere-0.24.diff | |
parent | 3a795b592e4e9a684d62c8b6a151a2429840dab6 (diff) | |
download | slackbuilds-3fa16f38206f91e182b4dd17c51453522aec669e.tar.gz slackbuilds-3fa16f38206f91e182b4dd17c51453522aec669e.tar.bz2 |
monkeysphere: adding patch for symlink deference on permission/ownership test
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2224 370017ae-e619-0410-ac65-c121f96126d4
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 00000000..f7be544a --- /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 |