umask in rpm scriptlets - yes or no?

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

 



I believe we've tried to discuss this in the past, but I'm unable to
find a related topic on several lists (packaging, extras, maintainers)
and in the Wiki.

A restrictive umask still causes RPM scriptlets to create inaccessible
files (and it still affects unowned directories, too, btw).

For example, a superuser with umask 077 installs a package, which
runs "/usr/bin/update-mime-database /usr/share/mime" in %post. The
result will be files that are readable only by root.

A very recent example, that might be related could be this:
https://bugzilla.redhat.com/230781

Does anybody know whether anything has been decided on setting an
explicit "umask 022" at the beginning of scriptlets?

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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