All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Asleson <tasleson@redhat.com>
To: lvm-devel@redhat.com
Subject: lvm and umask changing
Date: Mon, 02 Dec 2013 16:48:57 -0600	[thread overview]
Message-ID: <529D0E59.2030106@redhat.com> (raw)

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



                 reply	other threads:[~2013-12-02 22:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529D0E59.2030106@redhat.com \
    --to=tasleson@redhat.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.