Bug 671087

Summary: [fix available] file locks are not created with gvfs-sftp volumes with OpenOffice.org
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: openoffice.orgAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 6.1CC: caolanm, cmeadors, dtardon, msanders, ofourdan, pm-eus, syeghiay
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-28 15:25:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 668057    
Bug Blocks:    

Description RHEL Program Management 2011-01-20 09:25:26 UTC
This bug has been copied from bug #668057 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 4 Matthew Mosesohn 2011-01-20 14:26:17 UTC
This patch contains a regression that makes this problem worse.

If you write a new file to a gvfs-sftp volume, it writes with mask 0600 and ignores setgid permission bit on a folder.

Steps to reproduce:
Create a folder on a server with permissions 2770
Connect via SFTP to this server
Write a new file inside of this folder

The resulting file has permissions 0600, but should have 0660

Please don't go forward with pushing this fix until this regression can be fixed.

Comment 6 errata-xmlrpc 2011-01-28 15:25:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0183.html