On Sat, Aug 09, 2008 at 09:35:19AM +0200, Bert Wesarg wrote: > Petr, > > On Wed, Aug 6, 2008 at 10:02, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote: > > - elif [ -f "@sharedir@/tg-$1.txt" ] ; then > > + elif [ -f "@sharedir@/tg-$1.txt" -a -r "@sharedir@/tg-$1.txt" ] ; then > I saw your simplified commit for this, but you should know, that '-r' > tests only for read permissions, not for a regular file, so this test > succeed also for a pipe/socket for which do you have read permissions. Is that a problem? :-) Petr "Pasky" Baudis -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html