Sandro Bonazzola has submitted this change and it was merged.
Change subject: upload: nfs: set correct umask while renaming
......................................................................
upload: nfs: set correct umask while renaming
set the correct umask while renaming the temporary
file to destination file. Avoid to have incorrect
access bits on systems with not standard umask
(like 077)
(cherry picked from c97c0f0a0c8617042698665ec98a39ad89938647)
Change-Id: I5b7401f91e5fb4ce604ff17209e7c1260dd57503
Bug-Url:
https://bugzilla.redhat.com/990144
Signed-off-by: Sandro Bonazzola <sbonazzo(a)redhat.com>
---
M src/__main__.py
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Sandro Bonazzola: Verified; Looks good to me, approved
Alex Lourie: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/17485
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5b7401f91e5fb4ce604ff17209e7c1260dd57503
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: ovirt-iso-uploader-3.2
Gerrit-Owner: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Keith Robertson <kroberts(a)redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>