[Fedora-packaging] Re: How to deal with folders that need the user to change permissions on?

Ville Skyttä ville.skytta at iki.fi
Thu Mar 15 14:49:31 UTC 2007

On Thursday 15 March 2007, Axel Thimm wrote:

> So, you suggest to not ship the folder at all? Or create it in %post
> to evade the folder entering the manifest?

Not at all, if it can't be done right out of the box.

> > Marking the dir as %ghost and experimenting how it behaves then could
> > also be of (mostly academic) interest.
> Well, %ghosting is for having something in the manifest w/o shipping
> it.

Not only that; if a %ghost'ed file didn't exist when one installed a package, 
but exist when that package is erased, it will be removed.  You seemed to be 
concerned about the dir being unowned and not removed on erase - %ghosting 
would help with it being owned, and in some cases the removal as well.

What I don't know is whether ownership/modes of %ghosted but present files are 
reset on package install/upgrade or not.

More information about the Fedora-packaging mailing list