Bug 1963298

Summary: smbd tries to delete files with wrong permissions (uses guest instead of user from force user)
Product: Red Hat Enterprise Linux 8 Reporter: Jeff Scrivener <fregiventum>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Denis Karpelevich <dkarpele>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: asn, bugzilla, bwalton, dkarpele, gdeschner, jarrpa, tscherf, wbachman
Target Milestone: betaKeywords: Regression, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.14.5-0.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1964398 (view as bug list) Environment:
Last Closed: 2021-11-09 19:47:56 UTC Type: Bug
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:    
Bug Blocks: 1964398    

Description Jeff Scrivener 2021-05-22 03:47:37 UTC
Description of problem:
After upgrade of RHEL from 8.3 to 8.4, unable to delete files via Windows client from samba share. Problem identical to samba bugzilla referenced below.

Version-Release number of selected component (if applicable):
4.13.3-3.el8.x86_64

How reproducible:
Reverting VM to snapshot prior to 8.3 to 8.4 upgrade, or downgrading samba to 4.12.3 using yum downgrade corrects the issue.  Upgrading re-introduces the issue.

Steps to Reproduce:
1. Write file to share from Windows client
2. Delete file
3. Refresh window, file still exists
4. File still exists on filesystem when ls command issued
5. Deleting file from filesystem via CLI removes file

Actual results:
Unable to delete file

Expected results:
Deletion of file

Additional info:

Comment 6 errata-xmlrpc 2021-11-09 19:47:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (samba bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4438