Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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 1Yvugenfi@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 2Yvugenfi@redhat.com
2022-08-03 07:19:16 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.
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