RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2019712 - [virtiofs] failure to assign permissions to shared directory when using Active-Directory account
Summary: [virtiofs] failure to assign permissions to shared directory when using Activ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.0
Hardware: x86_64
OS: Windows
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: xiagao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-03 08:24 UTC by xiagao
Modified: 2023-05-09 09:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:55:10 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-101602 0 None None None 2021-11-03 08:27:32 UTC
Red Hat Product Errata RHBA-2023:2451 0 None None None 2023-05-09 07:55:28 UTC

Description xiagao 2021-11-03 08:24:18 UTC
Description of problem:
Active-Directory account have not permission to read/write on the sub folder of shared directory, while local guest user can do.

Version-Release number of selected component (if applicable):
100%

How reproducible:
qemu-kvm-6.1.0-5.el9.x86_64
kernel-5.14.0-10.el9.x86_64
virtio-win-prewhql-214
winfsp-1.7

Steps to Reproduce:
1.Create a shared directory on host and give everyone all permissons
# mkdir /home/test2
# chmod 777 /home/test2
# ll /home
drwxrwxrwx   9 root root  136 Nov  2 03:17 test2

2.Boot up win10-64 guest and login with an Active-Directory account

3.install viofs driver,winfsp and start virtio.exe on guest,then we can see a new Z: volume.

4.Try to create folders and subfolders
Z:\md folder
Z:\cd folder
Z:\folder>md subfolder
Access is denied.


Actual results:
Can't create folder/file on the sub folder of shared dir.

Expected results:
AD account has permission to r/w the shared folder.

Additional info:
1.I create a local guest account, the account have r/w permisson on the shared dir.

Comment 1 Yvugenfi@redhat.com 2022-07-31 10:01:47 UTC
Solved by BZ#2112559.

While there is a single fix, I suggest to keep this BZ as it describes different functional scenario.

Comment 2 Yvugenfi@redhat.com 2022-08-03 07:19:16 UTC
Fixed by https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2109262 ,  same as BZ#2112559

Comment 3 xiagao 2022-08-09 01:26:53 UTC
As having the same issue with https://bugzilla.redhat.com/show_bug.cgi?id=2042247#c3 ,set 'Assigned' status.

Comment 7 xiagao 2022-10-13 04:11:32 UTC
Test with virtio-win-prewhql-227 on win2019 guest, can read/write date on shared volume when logging with an Active-Directory account.

Steps:
1. boot up win2019 guest with a Active-Directory account
2. install winfsp, viofs driver and register virtiofs service.
---->Z: is shown. and can read/write data on shared dir.
3. switch to Administrator account, also can read/writer data on shared dir.
4. switch back to Active-Directory account, also can read/writer data on shared dir.

So set verified status.

Comment 12 errata-xmlrpc 2023-05-09 07:55:10 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 (virtio-win 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-2023:2451


Note You need to log in before you can comment on or make changes to this bug.