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

[lvm-devel] lvm and umask changing



https://bugzilla.redhat.com/show_bug.cgi?id=1012113

The yum snapshot plug-in is using the python lvm bindings and by
importing it the umask is getting changed to whatever is specified in
the lvm config file (default 0077).  This was causing mock to fail, but
at the moment it appears to be working even though the umask continues
to be changed.

IMO changing the umask on a user of the library is a bad thing to do,
but I wanted to get folks input this?

I would think we should be able to adhere to the users umask preferences
when needed and not leave the environment globally changed.

Regards,
Tony


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