Re: root use of yum (given "umask 077") causes build trouble

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

 



Jim Meyering <jim@xxxxxxxxxxxx> writes:

> FYI,
>
> [cc'ing the yum list, because yum may want to make the permissions
>  of certain files it creates be independent of root's umask ]
>
> When I do things as root, I have umask set to 077.
> That appears to have led yum to set the permissions on all files in
> /var/lib/yum/rpmdb-indexes/ to -rw-------.
> That in turn makes commands run by non-root like "yum info libvirt" fail,
> and it also makes libguestfs' build process fail like this:
>
>     febootstrap: external python program failed, see earlier error messages
>
> The previous error it's referring to appears to be this:
>
>     IOError: [Errno 13] Permission denied: '//var/lib/yum/rpmdb-indexes/version'
>
> I've just run this command (as root),
>
>     chmod go+r /var/lib/yum/rpmdb-indexes/*
>
> the libguestfs build was finally able to complete.
> And "yum info ..." became usable again.
>
> This is on Fedora 15.

 Note that I _think_ both sides of this are fixed in 3.4.0, but
testing by anyone crazy enough to have a non-default umask is always
good :).

-- 
James Antill -- james@xxxxxxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux