- Subject: Re: umask problem with yum/rpm?
- From: Michael Schwendt <mschwendt@xxxxxxxxx>
- Date: Tue, 7 Oct 2008 11:24:44 +0200
- In-reply-to: <20081007085535.GA24191@xxxxxxxxxxxxxxxxxx>
- Reply-to: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>
On Tue, 7 Oct 2008 10:55:35 +0200, David Jansen wrote:
> Am I missing something, or is this a bug in either yum or rpm (on Fedora
> 8):
>
> Root's umask is set to 077, so files created by root are by default only
> readable by root. Safest setting, so quite ok.
> Now root runs an rpm or yum command to install or update files. Umask
> setting is not used for the files extracted from the rpm, those get the
> permissions as stored inside the package.
Or not -- in case of unowned directories, which are not listed in a
package's files list. These will be unreadable by normal users because of
your restrictive umask.
> But root's umask appears to be
> in effect for the scripts that run from the rpm.
[...]
> So, should I report this as a bug, or is it known, or perhaps already
> solved somehow?
If there isn't an open ticket anymore, open a new one:
http://bugz.fedoraproject.org/rpm
It has been discussed years ago, and as a result some packagers
run "umask 022" at the beginning of their scriptlets as a work-around.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Older Fedora Users Mail]
[Home]
[Fedora Announce]
[Fedora News]
[Fedora Advisory Board]
[Fedora Security]
[Fedora Robotics]
[Fedora Maintainers]
[Fedora Infrastructure]
[Fedora Websites]
[Anaconda Devel]
[Fedora Devel Java]
[Fedora Legacy]
[Fedora Desktop]
[Fedora Fonts]
[iPod Nano]
[ATA RAID]
[Fedora Bible]
[Fedora Marketing]
[Fedora Management Tools]
[Fedora Mentors]
[Fedora Package Announce]
[POF Sucks]
[Fedora Package Review]
[Fedora PHP Devel]
[Kickstart]
[Fedora Music]
[Fedora Packaging]
[Centos]
[Fedora SELinux]
[Fedora Legal]
[Fedora Kernel]
[Fedora QA]
[Fedora Triage]
[Fedora OCaml]
[Coolkey]
[ET Management Tools]
[Yum Users]
[Tux]
[Big List of Linux Books]
[Yosemite News]
[Yosemite Photos]
[Linux Apps]
[Maemo Users]
[KDE Users]
[Fedora Tools]
[Fedora Art]
[Fedora Docs]
[Maemo Users]
[Asterisk PBX]
[Fedora Sparc]
[Fedora Universal Network Connector]
[Fedora ARM]
[Fedora 8 and Red Hat Enterprise Linux Bible]