- Subject: Re: umask problem with yum/rpm?
- From: edwardspl@xxxxxxxxxx
- Date: Tue, 07 Oct 2008 17:04:30 +0800
- In-reply-to: <20081007085535.GA24191@xxxxxxxxxxxxxxxxxx>
- Reply-to: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
Hello,
WITHOUT doing any thing :
In FC8, the yum is bug ( due to d/l the rpm packages from other FC, NOT
FC8 )...
In FC9, the yum is good for work...
That's all I known.
Thanks !
Edward.
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. But root's umask appears to be
>in effect for the scripts that run from the rpm.
>
>Most notably: various files in /usr/share/mime become inaccessibel to
>normal users after root manually installs updates. Similarly, after the
>last update of tetex, files like /usr/share/texmf/ls-R were only
>readable for root.
>
>Updates installed through the cron jobs, yum-updatesd, don't seem to
>suffer from this problem.
>
>If I explicitly execute 'umask 022; yum upgrade', there is no
>problem. So I think this is a bug in yum/rpm.
>
>Actually, I have been having problems with files like those in
>/usr/share/mime for a long time, probably since Fedora 8 came out, I
>just never correlated the problem to the way the updates were installed
>until now.
>
>On Fedora 9, I have not been able to reproduce the problem, even though
>the umask settings are the same.
>
>So, should I report this as a bug, or is it known, or perhaps already
>solved somehow?
>
>David Jansen
>
>
>
--
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]