Re: Packaging web extension native part and shared directory ownership

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

 



On 10/18/23 11:36 AM, Jason L Tibbitts III wrote:
Robert Marcano via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx> writes:

I seriously don't know how gnome-browser-connector [1] has ownership
of:

   /usr/lib64/mozilla/native-messaging-hosts

and not have conflict problems with mozilla-filesystem at install
time, maybe because they usually get installed at the same time with
the system installer.

As long as the directories have the same ownership and permissions,
there is no conflict.  Multiple packages owning a single directory is
not uncommon, and the case is covered in the packaging guidelines:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership

"
To be specific, you do not need to require a package for the sole fact
that it happens to own a directory that your package places files in. If
your package already requires that package for other reasons, then your
package should not also own that directory.

Thanks for the reply, the problem was solved after reading:

When co-owning directories, you must ensure that the ownership and permissions on the directory match in all packages that own it.

The install script was setting a slightly different permission.

"

(Yes, the grammar there isn't the best.)

  - J<
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux