List of unowned directories

Garrick Staples garrick at usc.edu
Tue Oct 17 05:11:07 UTC 2006


On Mon, Oct 16, 2006 at 06:00:02PM -0700, Wart alleged:
> Jason L Tibbitts III wrote:
> >>>>>>"GM" == G?rard Milmeister <gemi at bluewin.ch> writes:
> >
> >GM> I started to file bugzilla entries for unowned directories based
> >GM> on my local install. I then wrote a small program that lists all
> >GM> unowned directories from the FC-5 repositories "core" and
> >GM> "extras":
> >
> >Last week I had posted here about having done basically the same
> >thing.  The big problem that I see is that you're working from FC5,
> >while my stuff works from repodata and thus can handle rawhide without
> >actually having it installed.
> >
> >Some of the problems have already been fixed.  /dev, for instance, is
> >properly owned in FC6.
> >
> >I've placed the unowned dir portion of my report generated from
> >recently-mirrored repodata at
> >http://www.math.uh.edu/~tibbs/unowned-dirs
> >Warning: it's 1.5MB.
> 
> I don't understand the problem with yadex:
> 
> /etc/yadex/1.7.0 is unowned, occupied by:
> 	/etc/yadex/1.7.0/yadex.cfg, in package yadex (extras)
> 
> In the %files section of yadex.spec I have:
> 
> %dir %{_sysconfdir}/%{name}
> %config(noreplace) %{_sysconfdir}/%{name}/%{version}/%{name}.cfg
> 
> I thought this would cause all subdirs of /etc/yadex to also be owned by 
> the yadex package, but alas, that does not seem to be the case.  Does 
> every recursive subdirectory of /etc/yadex need a %dir entry in this case?

Other way around.  The default is to recursively own the contents of a
directory.  %dir is used to only own the directory.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20061016/1a740a73/attachment.sig>


More information about the Fedora-maintainers mailing list