When fixing permissions do u+w, too (fixes badly packaged tarballs)
CVS patchset: 7197 CVS date: 2004/03/28 00:49:54
This commit is contained in:
parent
a8b1e86048
commit
1cdfdb8b6c
|
@ -165,10 +165,10 @@ a=`ls -l foo.chmodtest | awk '{print $1}'`
|
|||
rm -f foo.chmodtest
|
||||
if test "$a" = "-rwxr-xr-x"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
FIXPERMS=a+rX,g-w,o-w
|
||||
FIXPERMS=a+rX,u+w,g-w,o-w
|
||||
else
|
||||
AC_MSG_RESULT(no (tell your OS vendor about GNU fileutils))
|
||||
FIXPERMS=a+r,g-w,o-w
|
||||
FIXPERMS=a+r,u+w,g-w,o-w
|
||||
fi
|
||||
AC_SUBST(FIXPERMS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue