I was looking at the wpa_supplicant package this last weekend. After extracting the package to a separate temporary directory and having looked the contents, I was surprised when my `rm -rf` of the temporary directory failed. The problem was that the whole of the usr/doc/wpa_supplicant-2.0 directory contents were read-only. I looked at the SlackBuild for wpa_supplicant and saw this:
Code:
chmod -R a-w $PKG/usr/doc/$PKGNAM-$VERSION/*
on line 157. Is this a typo? Was it supposed to be:
Code:
chmod -R a-x $PKG/usr/doc/$PKGNAM-$VERSION/*
to ensure that the examples would have to be manually set to +x to be executed?
I realize this is pretty minor, but it seemed weird to me when the dir removal failed.
-John