I am working on package bglibs, it has a installer that installs the libs and such. Namcap gives that usr/lib/bglibs/lib/... needs 444 or 644 directories and files need permission set to 644 or 444. I have tried chmod -R 644 $pkgdir/usr/lib/bglibs/lib and that doesn't work. Also I have tried:
for dir in $pkgdir/usr/lib/bglibs/lib do chmod -R 644 $dir done
also I have tried: find $pkgdir/usr/lib/bglibs/lib -type d -exec chmod 644 {}\;
None of the above worked. Directories should typically have a permission of 755 while regular files use 644.You should use 'install' with something like install -m644
On 12/30/2010 07:42 PM, Nathan Owens wrote: lib "${pkgdir}"/usr/lib/bglibs/lib which will install the 'lib' file with mode 644 inside the $pkgdir -- Tony