Re: Re: How to deal with folders that need the user to change permissions on?

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

 



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.

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux