[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: New package: rblcheck



On Sat, 2005-05-21 at 10:00 +0200, Oliver Falk wrote:
> > rpmlint errors:
> > 
> > rpmlint -iv rblcheck-1.5-6*
> [ ... ]
> > The directory permission errors are probably due to my user 
> > account being in a SGID directory, and the installer copying 
> > the directory permissions. You can fix this by adding:
> > 
> > %{_bindir}/find . -type d -exec chmod 755 {} \;
> [ ... ]
> Didn't add this as my linting doesn't mention directory permission problems.

You wouldn't, but anyone else with a setgid build directory will see
this problem. Fortunately there's a better way of fixing it. Change:

%defattr(-,root,root)

to:

%defattr(-,root,root,0755)

> [oliver wasser rblcheck]$ make lint
> Wrote: /home/oliver/cvs/rpms/rblcheck/rblcheck-1.5-7.src.rpm
> rpmlint rblcheck-1.5-7.src.rpm
> E: rblcheck no-signature
> 
> You may have a look at it again...

Looks OK now.

Paul.
-- 
Paul Howarth <paul city-fan org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]