[Bug 1886548] [NEW] setcifsacl: fix adding ACE when owner sid in unexpected location

Rakesh Ginjupalli 1886548 at bugs.launchpad.net
Mon Jul 6 17:10:43 UTC 2020


Public bug reported:

For Bionic release, current cifs-utils package version is 6.8-1. This
version is missing an ACL tools fix that is needed for Azure xSMB.

Commit in question which needs to be backported:
0feb1a80f3777f4c244b46958aa9f730de9e18b6 setcifsacl: fix adding ACE when
owner sid in unexpected location

[Impact]

 * The bug shows up with mounted cifs/smb filesystem, when a user tries
to modify the DACL for the files/directories in the mount. If the
owner/group ACEs do not appear first in the DACL (happens quite easily
with Azure file shares). The setcifsacl command in cifs-utils fails in
that case:

$ setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL’ /mnt/test/abc
main: setxattr error: Invalid argument

 * With the fix available in commit
0feb1a80f3777f4c244b46958aa9f730de9e18b6, the above error is not
returned, and the command works.

** Affects: cifs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1886548

Title:
  setcifsacl: fix adding ACE when owner sid in unexpected location

Status in cifs-utils package in Ubuntu:
  New

Bug description:
  For Bionic release, current cifs-utils package version is 6.8-1. This
  version is missing an ACL tools fix that is needed for Azure xSMB.

  Commit in question which needs to be backported:
  0feb1a80f3777f4c244b46958aa9f730de9e18b6 setcifsacl: fix adding ACE
  when owner sid in unexpected location

  [Impact]

   * The bug shows up with mounted cifs/smb filesystem, when a user
  tries to modify the DACL for the files/directories in the mount. If
  the owner/group ACEs do not appear first in the DACL (happens quite
  easily with Azure file shares). The setcifsacl command in cifs-utils
  fails in that case:

  $ setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL’ /mnt/test/abc
  main: setxattr error: Invalid argument

   * With the fix available in commit
  0feb1a80f3777f4c244b46958aa9f730de9e18b6, the above error is not
  returned, and the command works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1886548/+subscriptions



More information about the foundations-bugs mailing list